Hi
I'm working with bootloader, because of runtime library instead(eg. switch case, byte shift finally translate into _CASE_CHECKED_CODE, _BSHL...). I must separate APP and bootloader with rom library(normal library can't allocate address). Now, i create a bootloader rom library and link with app code, but there is no data in .s19 file..., help! Help! HELP!!!
snippet from project.map file:
*********************************************************************************************
SECTION-ALLOCATION SECTION
Section Name Size Type From To Segment
---------------------------------------------------------------------------------------------
.init 49 R 0xC000 0xC030 ROM_C000
.startData 10 R 0xC031 0xC03A ROM_C000
.text 24 R 0xC03B 0xC052 ROM_C000
.copy 2 R 0xC053 0xC054 ROM_C000
.stack 256 R/W 0x3800 0x38FF RAM
...
Summary of section sizes per section type:
READ_ONLY (R): 57 (dec: 87)
READ_WRITE (R/W): 100 (dec: 256)
NO_INIT (N/I): DE (dec: 222)
*********************************************************************************************
VECTOR-ALLOCATION SECTION
Address InitValue InitFunction
---------------------------------------------------------------------------------------------
0xFFFE 0xC029 _Startup
*********************************************************************************************
OBJECT-ALLOCATION SECTION
Name Module Addr hSize dSize Ref Section RLIB
---------------------------------------------------------------------------------------------
MODULE: -- rom.lib --
- PROCEDURES:
UpdateEvent_AppPFlash F577 46B 1131 1 @
MakeCrc_Tbl FA73 45 69 1 @
CalcCrc_u16_Val FAB8 32 50 0 @
- VARIABLES:
Thanks and regards
已解决! 转到解答。
Hi
To create .lib file, you need follow the steps below.(please also refer the attached mylib project)
please refer this to create your lib file. Hope this helps.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi
To create .lib file, you need follow the steps below.(please also refer the attached mylib project)
please refer this to create your lib file. Hope this helps.
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------