CSTACK is undefined for IAR after importing RTD based project from S32DS Platform 3.4

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CSTACK is undefined for IAR after importing RTD based project from S32DS Platform 3.4

1,017 Views
rael
Contributor I

Hello,

I'm using S32DS Platform 3.4 with RTD to configure S32K146 microcontroller and due to project requirements I export project to IAR 9.10.

The generated startup file, map file,... are not fully compatible with IAR and need modifications. for example project entry point and vector table names needs modification as mentioned in link below:

https://car.inotgo.com/2022/04/202204050415031929.html

The problem is that IAR recognizes CSTACK symbol as stack and lets you analyze defined CSTACK area in your project map file, however in generated map file using RTD, stack is defined in different way (only upper limit and lower limit of stack is defined) and CSTACK is undefined. So I can't use stack analysis option in IAR (C_SPY debugger).

Anyone has idea how can I define my stack region for IAR for analysis?

 

Tags (1)
0 Kudos
Reply
0 Replies