Re: [Flashforth-devel] disPIC33E... build list in flash?
Brought to you by:
oh2aun
From: Mikael N. <mik...@fl...> - 2017-01-19 05:30:18
|
You need to ALIGN the flash dictionary pointer after you've created the list in flash. HERE would have shown you an uneven address after the last C, The 16-bit PIC throws an hardware address exception for an unaligned word write to the flash buffer in ram. Mike On 2017-01-19 02:21, Joe Ennis wrote: > Came up against one that has me puzzled: > > Say I create a char list in flash with > > hex flash create foo 1b c, f2 c, 57 c, ram > > then if I try to define some word > > : bar .s ; > > I get "warm" with an address and software reset error. > > All this works fine if I substitute ram for flash above. > Is it not possible to create a list in flash? > > Or is there a better way to create a read only list that > is available across power cycles? > > -- > joe |