I want to work first, but I also want it to write an SREC file for the device 
bootloader first and then again for their application code.
The 2148 is close enough in the cfg file to a 2138. I just need to know what is 
wrong with the above and to make it work from two SREC files.
I don't want to make a big 0xff bin the size of all flash and overlay both srec 
files and program that. Why write 0xff to addresses that are naturally erase to 
0xff? I want to only erase prior to the load of the first flash operation, 
leaving the space beyond the bootloader all 0xff until the application is laid 
on it in flash.



---

** [tickets:#111] LPC2138**

**Status:** new
**Milestone:** 0.9.0
**Created:** Tue Nov 03, 2015 02:21 AM UTC by Kenneth Deitz
**Last Updated:** Tue Nov 03, 2015 06:28 PM UTC
**Owner:** nobody


I have tried everything with OPENOCD nothing works as per the documentation. 
Errors, deprecations, invalid commands, sub commands, too few arguments in the 
FLASH write_image command, yet I look at the docs and everything seems okay. I 
modified the structure for my OLIMEX-ARM-USB-OCD-H shown here: 
http://siwawi.bauing.uni-kl.de/avr_projects/arm_projects/openocd_intro/
Nothing works. I simply want to use the programmer unit to load SREC data into 
a LPC2138. Nothing more. Why is this so difficult? Anyone got code that will 
work?


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/openocd/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/openocd/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to