embedded systems developers tools, cross compilers
  Home  |   SwiftX Archive  |   SwiftForth Archive  |

Re: separate flash space problem

From: Leon Wagner <leon_at_forth.com>
Date: Thu, 3 Aug 2006 07:46:51 -0700

Looks like you're not burning both CDATA sections into flash.

> -----Original Message-----
> From: swiftx-bounce_at_forth.com
> [mailto:swiftx-bounce_at_forth.com] On Behalf Of Frank Boon
> Sent: Thursday, August 03, 2006 7:36 AM
> To: swiftx_at_forth.com
> Subject: [swiftx] separate flash space problem
>
> 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
> ----------------------------------------------------------------------
>
>

----------------------------------------------------------------------
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:47:28 PDT

This archive was generated by hypermail 2.2.0 : Thu Nov 20 2008 - 03:04:49 PST