![]() | ||
| Home | SwiftX Archive | SwiftForth Archive | |

Can anybody see what I'm doing wrong?
Platform: ATMEL MEGA16.
What: I'm trying to setup a bootloader, which must reside in a
particular space in de flash (last 2k).
Problem: A simple word isn't compiled in the separate flash space.
Thanks in advance,
Frank Boon
Metatronics
[config.f]
[...]
3800 3FFF CDATA SECTION FLASHBOOT \ Flash code space BOOTLOADER 2K
(byte addressed)
0000 37FF CDATA SECTION FLASH \ Flash code space (byte addressed)
FLASH
0060 01CF IDATA SECTION IRAM \ Internal initialized data
01D0 045F UDATA SECTION URAM \ Internal uninitialized data
[...]
[app.f]
[...]
FLASHBOOT
: boot 12 . ;
FLASH
: noboot 12 . ;
[...]
[command window output]
[...]
INCLUDE BUILD
Start End Size Used Unused Type Name
0000 37FF 14336 6126 8210 CDATA FLASH
3800 3FFF 2048 12 2036 CDATA FLASHBOOT
0060 01CF 368 21 347 IDATA IRAM
01D0 045F 656 429 227 UDATA URAM ok
[...]
CONNECT TARGET ok
[...]
boot
TARGET READY ok
[...]
noboot 12 ok
[...]
See noboot
1732 |TIB| CALL 0E942800
1736 LITERAL C 0C00
1738 . RCALL 2CDA
173A RET 0895 ok
[...]
See boot
3800 7 R31 SBRS FFFF
3802 7 R31 SBRS FFFF
3804 7 R31 SBRS FFFF
3806 7 R31 SBRS FFFF
3808 7 R31 SBRS FFFF
380A 7 R31 SBRS FFFF
380C 7 R31 SBRS FFFF
380E 7 R31 SBRS FFFF
3810 7 R31 SBRS FFFF
3812 7 R31 SBRS FFFF
3814 7 R31 SBRS FFFF
3816 ETC...
[...]
----------------------------------------------------------------------
swiftx_at_forth.com The SwiftX programming discussion email list
To unsubscribe, send subject "unsubscribe" to swiftx-request_at_forth.com
For list command help, send subject "help" to swiftx-request_at_forth.com
Message archives are located at http://www.forth.com/archive/swiftx
----------------------------------------------------------------------
This list is a forum for SwiftX users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Thu Aug 03 2006 - 07:36:54 PDT
This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:51 PST