Bootloader for lpc1788??

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Bootloader for lpc1788??

1,149 次查看
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 回复数

1,029 次查看
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 项奖励
回复

1,029 次查看
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 项奖励
回复

1,029 次查看
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 项奖励
回复