Where is source code for a complete and working Open Flash Loader?
The Open Flash Loader I'm attempting to complete is for an ARM7TDMI-S core with custom peripherals but I'll take a look at anything people confirm to be working.
Thanks in advance,
Kevin
I attempted to create a minimal/simple "Fake Flash" Open Flash Loader from the provided template(s) but I still get "***** Error: Failed to initialize RAMCode". Debugging the "Fake Flash" (and version for real H/W) work as expected.
I've learned some things along the way that aren't documented but they don't explain the failure I'm seeing. A couple examples are provided below.
The release build needs at least level 2 debugging enabled. The debugging information is providing information J-Link uses to find the FlashDevice (and probably the entry points).
The provided templates compile the Init(), EraseSector(), etc. functions for Thumb mode. Without documentation, I'm not sure if that is required for all ARM processors (capable of executing Thumb instructions).
The Open Flash Loader I'm attempting to complete is for an ARM7TDMI-S core with custom peripherals but I'll take a look at anything people confirm to be working.
Thanks in advance,
Kevin
I attempted to create a minimal/simple "Fake Flash" Open Flash Loader from the provided template(s) but I still get "***** Error: Failed to initialize RAMCode". Debugging the "Fake Flash" (and version for real H/W) work as expected.
I've learned some things along the way that aren't documented but they don't explain the failure I'm seeing. A couple examples are provided below.
The release build needs at least level 2 debugging enabled. The debugging information is providing information J-Link uses to find the FlashDevice (and probably the entry points).
The provided templates compile the Init(), EraseSector(), etc. functions for Thumb mode. Without documentation, I'm not sure if that is required for all ARM processors (capable of executing Thumb instructions).