Dear Matthias,

In trunk@1566 you wrote in NRWW.rst that "Furthermore the NRWW section
cannot self reprogram itself." That isn't true at least on my current
micro (at90can128). The MCU simply freezes when writing to its NRWW
space. Thus, the BOOFA bootloader <https://github.com/wexi/boofa.git>
has no problem to program the *entire* Flash space; less itself
of-course :-)

Also, I don't think that typical developers needing to place a
bootloader on the NRWW sector should trouble themselves with asm code
packing. Until a different core packing method is offered (which I
strongly recommend) here is a patch that I suggest to include in
AmForth:

http://pastebin.com/i7DbkWiT

An excerpt:

diff --git a/core/dict/appl_8k.inc b/core/dict/appl_8k.inc
index 53d9ef3..cf9e1a3 100644
--- a/core/dict/appl_8k.inc
+++ b/core/dict/appl_8k.inc
@@ -1 +1,6 @@
+.if AMFORTH_RO_SEG > NRWW_START_ADDR
+.include "dict/appl_4k.inc"
+.exit
+.endif

In the remaining core space I pack via dict_appl_core.inc application asm
words and additionals from the core.

Sincerely, Enoch.


------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to