SPI FLASH and JTAG program load
06-15-2016
11:56 AM
1,309 Views


NXP Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Content originally posted in LPCWare by dohnalik on Sat Jan 17 07:42:59 MST 2015
Hello,
first of all, I'm hardware designer, so sorry for my probably lame questions.
I made myself board with LPC4320 MCU and SST25VF040B SPI flash memory which I want to use for USB audio. I have Segger J-link JTAG debugger and LPCExpresso IDE and I'm dealing with a problem...I already wrote program and succesfully run it loaded into RAM, but I want to load it into external SPI flash memory and boot from it, how can I do that (I know, very lame question)? My boot jumpers are the same as are on Hitex Rev A4 (http://www.nxp.com/documents/application_note/AN11239.pdf), now I have it configured to boot from SPI (SSP). I also tried SPIFI.
Do I understand correctly that I need some kind of driver (I'm new to MCU without internal flash)?
Thank you very much.
Hello,
first of all, I'm hardware designer, so sorry for my probably lame questions.
I made myself board with LPC4320 MCU and SST25VF040B SPI flash memory which I want to use for USB audio. I have Segger J-link JTAG debugger and LPCExpresso IDE and I'm dealing with a problem...I already wrote program and succesfully run it loaded into RAM, but I want to load it into external SPI flash memory and boot from it, how can I do that (I know, very lame question)? My boot jumpers are the same as are on Hitex Rev A4 (http://www.nxp.com/documents/application_note/AN11239.pdf), now I have it configured to boot from SPI (SSP). I also tried SPIFI.
Do I understand correctly that I need some kind of driver (I'm new to MCU without internal flash)?
Thank you very much.
4 Replies
06-15-2016
11:56 AM
1,182 Views


NXP Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Content originally posted in LPCWare by lpcxpresso-support on Mon Jan 19 02:19:29 MST 2015
This is described in Chapter 6 of the LPCXpresso User Guide.
This is described in Chapter 6 of the LPCXpresso User Guide.
06-15-2016
11:56 AM
1,182 Views


NXP Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Content originally posted in LPCWare by dohnalik on Sun Jan 18 13:30:31 MST 2015
OK, thank you, I will purchase LPC-link v2 then. How do I implement this driver please?
Thank you again.
OK, thank you, I will purchase LPC-link v2 then. How do I implement this driver please?
Thank you again.
06-15-2016
11:56 AM
1,182 Views


NXP Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Content originally posted in LPCWare by lpcxpresso-support on Sat Jan 17 12:55:00 MST 2015
Please disregard the post from mc as the driver he has posted only applies to LPCXpresso using LPC-Link1 or LPC-Link2 debug probes.
If you are using J-Link, you will need to obtain the correct driver for your flash from Segger. It may well be included in the J-Link software that you have installed, but I have no experience of this so cannot tell you if it does or not.
Please disregard the post from mc as the driver he has posted only applies to LPCXpresso using LPC-Link1 or LPC-Link2 debug probes.
If you are using J-Link, you will need to obtain the correct driver for your flash from Segger. It may well be included in the J-Link software that you have installed, but I have no experience of this so cannot tell you if it does or not.
06-15-2016
11:56 AM
1,182 Views


NXP Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
