Good morning
I find in the linker file for the MK02FN128 as released for the KDS
the ram begins at 0x1FFFE000.
In the Table 4-1. System memory map of the K02F Sub-Family Reference Manual
I find another address: 0x1C00_0000
Do I read some wrong???
In the same manual the interrupt vectors are limited to 90, as in Table 3-4. Interrupt vector assignments.
The linker file for the MK02FN128 reserves 0x400 bytes for the interrupt table. What happens??
Pietro
解決済! 解決策の投稿を見る。
Hello Pietro di Castri:
The memory map in Table 4-1 only represents an overview of the memory spaces that the MCU architecture could eventually handle depending on the specific device (part number). The actual RAM sizes and addresses are given in Chapter 3.5.3.1 SRAM sizes:
About the vectors, the 0x400 space for vectors is the standard reserved size for Kinetis devices; the actual space used depends on the number of vectors as you implied. For your case with K02 the space required is 90 x 4 bytes = 360 = 0x168. There is an unused gap but it is not possible to place code from there because it would overlap with the Kinetis Flash Configuration Field space (from 0x0400 to 0x040F).
Regards!,
Jorge Gonzalez
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello Pietro di Castri:
The memory map in Table 4-1 only represents an overview of the memory spaces that the MCU architecture could eventually handle depending on the specific device (part number). The actual RAM sizes and addresses are given in Chapter 3.5.3.1 SRAM sizes:
About the vectors, the 0x400 space for vectors is the standard reserved size for Kinetis devices; the actual space used depends on the number of vectors as you implied. For your case with K02 the space required is 90 x 4 bytes = 360 = 0x168. There is an unused gap but it is not possible to place code from there because it would overlap with the Kinetis Flash Configuration Field space (from 0x0400 to 0x040F).
Regards!,
Jorge Gonzalez
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
It is clear now.
Thank You