Hi List, Andreas, Andreas and Peter.

(...and one for the list - because my mail program can't figure out to send it 
from the right account).

Thank you all for your valuable inputs. I finally managed to get the LPC812 
flash-programmed.
So I can also confirm success on SWD programming from a PPC Mac. That also 
means: "No big-endian problems encountered". :)

As the configuration files for lpc1xxx is currently being cleaned, I'd like to 
avoid submitting any modifications until the current files are merged.
-Ivan, feel free to grab anything and everything you want from those 
config-files, in order to integrate lpc8xx.cfg into lpc1xxx.cfg.
It looks to me like that lpc1xxx.cfg need very little modification to 
accomodate the LPC8xx series as well.

Instead, I'll provide my config-files for anyone who still haven't gotten their 
LPC8xx flashed.
The following archive contains the config files and a simple "minimum" 
breadboard setup recipe, in order to provide some basic "trouble-shooting":
        <http://scratch.gpio.dk/lpc8xx-cfg.zip>

For those, who have everything else ready, this is the command I used to flash 
the chip:
        openocd -f interface/ftdi/jtag-lock-pick_tiny_2.cfg -c "transport 
select swd" -f Flashing/Board/Board.cfg \
         -c "init; sleep 200; halt; wait_halt; flash write_image erase unlock 
\"$file_to_flash\"; sleep 10; reset run; sleep 10; shutdown"

I hope this will help some people out there. I believe the LPC11xx and LPC13xx 
would be very similar.


Love
Jens

On Sun, 30 Mar 2014 13:55:23 +0200, Peter Stuge wrote:
> Jens Bauer wrote:
>> On Sat, 29 Mar 2014 22:50:42 +0100, Andreas Fritiofson wrote:
>>> Of course SWD? I thought at least LPC13xx speaks JTAG too...
>> 
>> As far as I understand when reading the datasheet, it does not seem
>> to support Flash-programming and Debugging via JTAG.
> 
> Yes, that's correct. Only SWD.
> 
> 
> //Peter
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> OpenOCD-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openocd-devel

------------------------------------------------------------------------------
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to