CRC Calculation Limit

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

CRC Calculation Limit

850件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by wanderingnewfie on Tue Oct 20 14:24:20 MST 2015
I am writing a 2nd bootloader for my LPC812 that jumps to an application after downloading through the UART.  To confirm the download was successful, I want to compare the CRC at the end of the application with a CRC I calculate with Chip_CRC_CRC8() found in chip_8xx.c.  When I try to calculate the value of my application I get into the while loop and never exit.  The size of my application is 0x1BFC bytes (application is contained in 0x2400 to 0x4000 in flash and last 4 bytes is CRC).  Am I just running out of RAM during the loop so the processor locks up?  Is there a limit to the size of the bytes parameter in Chip_CRC_CRC8() for the LPC812 due to the amount of available RAM?

Thanks for the help.
ラベル(1)
0 件の賞賛
返信
1 返信

819件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by wanderingnewfie on Wed Oct 21 16:17:56 MST 2015
I think I solved my problem, it was an unhandled systick interrupt that would fire during the CRC calculations.  The default handler is just an infinite loop.
0 件の賞賛
返信