Re: Program Memory
"Tom Collins tom-lnEA/wrDJtNWk0Htik3J/[email protected] [rabbit-semi]" <[email protected]> Thu, 22 Sep 2016 09:13:28 -0700
| Newsgroups | gmane.comp.hardware.rabbit-semiconductor |
|---|---|
| Message-ID | <[email protected]> |
I think that in addition to making that change, you'll need to rewrite the SystemIDBlock on all of your boards with fields indicating that you have a single, unmirrored 4KB UserBlock (which contains the SystemIDBlock at the end) on your board. I'm not sure how easy it will be to do that. You should definitely be able to tell it you have two, mirrored 4KB UserBlocks, and you're only losing 4KB of flash space to do so. Less hacking required, and less chance of something going wrong. -Tom On Sep 22, 2016, at 9:08 AM, seecwriter-/[email protected] [rabbit-semi] wrote: > MAX_USERBLOCK_SIZE is defined in StdBios.c. The comments say it can be reduced to 0x1000. But a few lines later, there is a test of MAX_USERBLOCK_SIZE to make sure it is at least 0x2000 in size, if not it throws a compile error. > > > > Since I am not using the userblock, and never have, nor am I using the file system, is there a problem with removing the size test, or even setting MAX_USERBLOCK_SIZE to zero? > > > > I'm using DC v9.62. >