<< return to Pixycam.com

Problem with download Firmware to Pixy

I has rebuilt all the M0 and M4 files and generated the corresponding *.hex files using Keil.

However, when I tried to download these program to the LPC4330 via J-link 2, I failed.

Note: I used J5 to connect the Jtag Port with J-link 2.

I guess there exsits setting problem with Keil tool-chain for programming.

Here are several questions.

1, what is the size of the internal/external(SPI) Flash for LPC4330, and what is the address of them?
2, Where should the M0.hex and pixy_firmware.hex(M4) be located, the internal or SPI Flash? What is the start address?
3, Do you have any J-link 2 setting document for Keil?

Hope to hear from you shortly? Thanks.

Hello Lester,
It should be straightforward if you have a JLink debugger. Have you tried uploading the hex file through our standard firmware upload path? (for testing purposes?)

http://cmucam.org/projects/cmucam5/wiki/Uploading_New_Firmware

Regarding the flash, Pixy’s flash is external to the main processor. It’s a QSPI 1Mbyte flash mapped to 0x1400000. The M0 code is in the hex file and unpacked from flash.

Hope this helps!

Edward