Re: [Flashforth-devel] FIXED was disPIC33E... build list in flash?
Brought to you by:
oh2aun
From: Joe E. <je...@bo...> - 2017-01-19 18:14:39
|
Yep, should have known I couldn't move straight across from 18f to 33e. I'm having gobs of fun w/ 5.0 on 33e! Thanks Mike. -- joe On Thu, 19 Jan 2017 07:30:08 +0200 Mikael Nordman <mik...@fl...> wrote: > 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 > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Flashforth-devel mailing list > Fla...@li... > https://lists.sourceforge.net/lists/listinfo/flashforth-devel |