Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: MSP432P401R: Program goes into a hard fault when array is variable size

$
0
0
[quote]The file was produced by an export from the Registers view in the CCS debugger... - Four byte wide registers have a second column value of 0xB (as seen on a MSP432 or Cortex-A15 device) - Eight byte wide registers have a second column value of 0x19 (as seen on a Cortex-A15 device) Therefore, the value of the second column doesn't give any clue about the cause of the hard fault.[/quote] Thanks for the info, Chester. [quote user="Dan Cermak"]Also, are you sure that the TI compiler supports variable length arrays? And are you compiling with -c99 (although there should be an error, if you are not)?[/quote] The fact that the O.P. talks about runtime issues should be living proof that it builds without errors. Anyway, it is his (the O.P.'s) turn now ...

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>