Picatout / stm8_eForth

adaption du eForth pour stm8-discovery de C.H. Ting pour compilation avec SDAS sur carte NUCLEO-8S208RB
GNU General Public License v3.0
2 stars 2 forks source link

flashing new version doesn't work if not erasing flash first #4

Closed Picatout closed 1 year ago

Picatout commented 3 years ago

When flashing a new version of eForth the program doesn't work properly unless all flash memory is erased first. I modified the Makefile to add an erase: rule. Procedure to flash a new version is:

> make  -fnucleo.mk erase 
> make -fnucelo.mk eforth  
Picatout commented 1 year ago

bogue résolue dans COLD maintenant lorsqu'une nouvelle version est programmée sur la carte les 4 permier mots après app_space sont mis à zéro. dans COLD le premier mot est lu et s'il est à zéro les variables dans l'EEPROM sont réinitialisées avec les valeurs par défaut.