J
Reaction score
0

Latest activity Postings About

    • J
      What else needs to be added for the early hook?
    • J
      Do I need to initialize the pins in fast mode upfront? IOMUXC_GPR_GPR27 = 0xFFFFFFFF; // Initialize pins GPIO9_GDIR |= (1<<4); // pinMode(2,OUTPUT); GPIO9_DR_SET &= ~0xF7; // digitalWrite(2,LOW); GPIO6_GDIR |= (1<<2); //...
    • J
      Would this be correct for the "startup_early_hook"? GPIO9_GDIR |= (1<<4); // pinMode(2,OUTPUT); GPIO9_DR_SET &= ~0xF7; // digitalWrite(2,LOW); GPIO6_GDIR |= (1<<2); // pinMode(1, OUTPUT); GPIO6_DR_SET = (1<<2); // digitalWrite(1...
    • J
      I change to FLASHMEM void startup_early_hook(void) { ... } and it works . Thanks everybody!
    • J
      Thanks for the input guys. Pauls hint " I can tell you programs which crash early" pushed me into the right direction. I was able to cut down the problem to this code: extern "C" void startup_early_hook(void) { pinMode(2,OUTPUT)...
  • Loading…
  • Loading…
Back
Top