I am porting AN12037 to a 51u68 demo board.
1. starting with app_blinky, I changed the memory for the 51U68
MFlash256 (rx) : ORIGIN = 0x2000, LENGTH = 0x1E000 /* 120K bytes (alias Flash) */
Ram0_32 (rwx) : ORIGIN = 0x20000200, LENGTH = 0x1c00 /* 7K bytes (alias RAM) */
Ram1_2 (rwx) : ORIGIN = 0x04000000, LENGTH = 0x800 /* 2K bytes (alias RAM2) */
Ram2USB_2 (rwx) : ORIGIN = 0x04004000, LENGTH = 0x800 /* 2K bytes (alias RAM3) */
and
app_blinky_Debug_memory.ld to same.
also changed app_blinky_Debug_SencondImage.ld to start at 0x20000
2. I changed the cpu from 11u6x to 51u68 for the project
3. UART Console is checked in Debug console
4. Debug probe = "LinkServer" = successfully booted
When I try to debug or use GUi flash tool and I get the error Ef(50): Flash driver failed to initialize.
My demo board works fine when I switch to other projects I created. It seems to be only the app_blinky project that gives this error. Any Ideas?
Solved! Go to Solution.
I tried all the Reset Handling settings with no success.
I fixed it by holding the ISP0 button, connecting USB then pressing reset.
I tried all the Reset Handling settings with no success.
I fixed it by holding the ISP0 button, connecting USB then pressing reset.
I changed the Run/debugger settings for LinkServer Debugger to "Default" along with changing MCU settings flashdriver to LPC51U6x_256K.cfx and that seemed to work.
But...Now when I try to debug I get a window saying
SWD Configuration
0 available SWD Devices detected.
Connect a device and try again.
Please confirm have disconnect all the previous debug using "Clean Up Debug" button:
If still can't work, please take a video or screenshots show all your steps.
Regards,
Alice
Hello BetoGreen,
If you use MCUXpresso IDE, how about
launch configuration "Reset Handling" setting is intended as SYSRESETREQ.
Regards,
Alice