Bootloader for lpc1788??

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

Bootloader for lpc1788??

1,014件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jaybee on Wed Nov 20 00:56:12 MST 2013
Hi, i am building a bootloader for lpc1788.

I know there is u-boot, but i have built a similar bootloader which reads the firmware via SD card for the lpc1769.

I have ported the code over to be used for lpc1788, however, i will get a hard fault error whenever i declare a large array for example

void main()
{
   array buf[512];
   debug_printf("test1");
}

just this code alone gives me hard fault error.... it seems that my configuration files are not setup properly, any hints???

i am using crossworks for arm ver 2.3

any help will be appreciated thank you.
0 件の賞賛
返信
3 返答(返信)

894件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Brick on Tue Nov 26 16:11:39 MST 2013
Hi Jaybee

I'm about to do exactly the same thing (LPC1788 bootloading via SD Card). I would really appreciate any tips on how to get started. Can you tell me which bootloader you got for the LPC1769?

Thank you for your time.
0 件の賞賛
返信

894件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jaybee on Wed Nov 20 19:35:51 MST 2013
Ok thanks. after configuring the memorymap it works  :)


I think i just went full retard there......
0 件の賞賛
返信

894件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by capiman on Wed Nov 20 01:01:56 MST 2013
Just two general notes:
- You may have not setup stack correctly
- You have no while(1); at end of main
0 件の賞賛
返信