Loading hex file to LPC 4330

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Loading hex file to LPC 4330

1,724件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sudhir_reddy83 on Tue Jul 10 21:09:05 MST 2012
Hi,

I have already worked on my project using LPC 1788. Now I am migrating my design from LPC 1788 to LPC 4330, 188 pin one. I am also using M25P40 flash of STM to store my hex file. My query is
1. I want to know what are all the devices which I can use for LPC 4330 to load the hex file. I am using Keil IDE
2. I want to know how I can load hex file into external SPI flash using ISP and not using any JTAG that means using serial interface. what are all the tools that can be used to load the hex file into M25P40.
3. I also want to know the Boot load process when using an external SPI flash device.



Thank You in advance
ラベル(1)
0 件の賞賛
返信
5 返答(返信)

1,397件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ccrbs on Tue Nov 26 01:45:01 MST 2013
Hi Phil,

in C:\Program Files (x86)\Flash Magic\Bootloaders\External Memory\S25FL129P\LPC1850-Hitex, there are a lot of files in that folder, could you advise me how to modify them? Many thanks!

Regards,

Robert
0 件の賞賛
返信

1,397件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by PhilYoung on Fri Jul 13 14:08:47 MST 2012
4357 has onboard flash, so flash magic has been configured to support it as a standard device.
For external flash devices the programmer needs to know the details of the microcontroller, to set up the memory controller etc, and the programming algorithm for the flash device.
obviously it's not possible for flash magic to support every combination, but it does support using the internal download algorithm on the LPC devices to download the customized flash programmer code and run it, then it interfaces to this code to complete the programming in the normal manner.

so flash magic can be configrred for this, and there is already code supplied with it for the Hitex 1850 board with SPI flash, so you can modify this to support your device.

look in the directory
C:\Program Files (x86)\Flash Magic\Bootloaders\External Memory\S25FL129P\LPC1850-Hitex

regards

Phil.
0 件の賞賛
返信

1,397件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sudhir_reddy83 on Thu Jul 12 04:55:39 MST 2012
Hi bavarian,


Regarding downloading through ISP, I have searched for the supported hardware list in the Flash Magic website. Its showing only LPC4357 as supported. I don't think that FlashMagic will support LPC4330. Are there any other methods through which I can download using ISP mode. If Yes can you let me know the details about them.


Thank You


Regards
0 件の賞賛
返信

1,397件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bavarian on Thu Jul 12 01:24:41 MST 2012
Hello,

1. You can use the KEIL IDE to program the external flash, . You just need a ULINK or a JLINK. Look for the document "KEIL Flash Utility.pdf  in the .\Tools\Flash Utility\KEIL folder. It describes the programming of the parallel flash. For the qSPI flash there is also a driver in µVision, it appears as "SPIFI on LPC18xx/43xx @14000000" (link your code to this address). Set the size for the RAM to 0x4000 (upper right corner). You don't need an init file.

2. I can't test it right away, but I think Flash Magic already supports it.

3. The bootloader chapter in the user manual describes most of the things, if you have a specific question then please post it here and I will take care of it.

Best regards.
0 件の賞賛
返信

1,397件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sudhir_reddy83 on Tue Jul 10 21:13:29 MST 2012
Sorry the IC which I am using is LPC4330 of 144 pin
0 件の賞賛
返信