LPC11A04 UART ISP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC11A04 UART ISP

350 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by microappl on Wed Jun 10 10:40:57 MST 2015
Anyone successfully program 11A04 via ISP ? We have about 10 PCB designs in the pipe using 11A04. First one does not program via ISP.
Prototype using 11A14 dvk works fine. The 11A04 is WLCSP 20 package so the PIO0_1 pin is also the RXD pin.
First I used FLASHMAGIC thru an FT232RL bridge and 'OR'ed the RXD and RTS pins together with a pullup of course. WHen this did not work I tried ISP mode manually with jumpers and a dumb terminal.
I downloaded (via SWD) a test pgm to toggle a pin and this works fine. If I GND PIO0_1 on reset the pin toggle code does not run as one would expect if the bootloader is running. At this point if I send '?' chars from the TTY, the 11A04 never responds. I tried many baud rates, etc. It looks like the default UART pins may not actually be the pins the bootloader is mapping as UART.
The spec says nothing about 11A04 remap of ISP pins other than PIO0_1 and RXD share the same pin. I would expect that GNDing PIO0_1 + reset  would enter bootloader and then PIO_1 would become RXD.
Any ideas here?
I can always use SWD download for all the boards in the pipe but since the default  SWD pins are also I2C pins and the design uses I2C,  it is possible to brick the 11A04 if something goes awry the first try. This is why UART ISP would be preferable here.
Labels (1)
0 Kudos
1 Reply

253 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by microappl on Wed Jun 10 16:47:16 MST 2015
I solved this. The bootloader UART RXD pin is actually not PIO0_1 but instead PIO0_12. I found this by chance in the pin description of PIO0_12 in the user manual.
0 Kudos