nobo...@web.de wrote:
nobo...@web.de wrote:
i looked into the examples and found no nop after dint. It seems all examples
with dint are wrong.
which examples? the ones in our CVS?
Yes. These are the only ones i do know for mspgcc.
I have downloaded them via cvs:
cvs -d:pserver:anonym...@cvs.sourceforge.net:/cvsroot/mspgcc login
cvs -z3 -d:pserver:anonym...@cvs.sourceforge.net:/cvsroot/mspgcc co docs
examples gcc gdb gdbproxy hardware htdocs jtag msp430-libc msp430simu packaging
pybsl pyjtag pyserjtag python serJTAGfirmware ubroff
ok, which ones? there are so many ;-)
it's no requirement to put a nop after dint, any non critical
instruction works as well. e.g. the flash write example
rawsources/flash.c disables ints, then continues to set up the flash
controller before the critical loop or segment erase begins.
maybe the pc_keyboard example is broken, but it does not perfectly
anyway, thats the reason it's left out in the installer.
chris