Re: [Mspgcc-users] Mspdebug: "prog" programs vectors, not program code

2016-08-16 Thread MarkoC
I see, years ago, I have used a similar "funclets" method on 68HC11. So, gaps in TCK should not be a problem. BTW, I also noticed that the supply from the LPT FET box is on the low side for flashing (2.8V, 2.7 is the minimum required), so I connected an external 3.3V supply, but no difference. The

Re: [Mspgcc-users] Mspdebug: "prog" programs vectors, not program code

2016-08-16 Thread chris liechti
Am 16.08.2016 um 08:59 schrieb MarkoC: > Next, I checked the TCK pin witn an o'scope, and found out the follwing: > The clock, when running, has a period between 4 and 9 us. If you are referring to the parallel port JTAG; the original MSP430.dll as well as MSP430mspgcc.dll do not supply the fla

Re: [Mspgcc-users] Mspdebug: "prog" programs vectors, not program code

2016-08-16 Thread MarkoC
Hello, I have looked into the ELF file, and there is good code at 0x1100. Also, using an Olimex header board, that I also bought long ago, I could see some code at 0x1100 before erasing it, so the memory is there. Next, I checked the TCK pin witn an o'scope, and found out the follwing: The clock,

Re: [Mspgcc-users] Mspdebug: "prog" programs vectors, not program code

2016-08-11 Thread MarkoC
Hello, thanks to all that have replied, I will be able to dig into this now. I'll try to check the clock too, to see if I have to buy a new interface... I bought this one a LONG time ago, and now had to resurrect an old laptop, to have LPT port at all! Marko -- View this message in context: h

Re: [Mspgcc-users] Mspdebug: "prog" programs vectors, not program code

2016-08-11 Thread Daniel Beer
On Thu, Aug 11, 2016 at 04:54:18AM -0700, MarkoC wrote: > mc@bpc2 ~/MSP430/MSP-FET $ mspdebug pif -j -d /dev/parport0 > MSPDebug version 0.22 - debugging tool for MSP430 MCUs >From the output, it doesn't look like there's anything wrong obviously wrong with your ELF file, but one thing to be aware

Re: [Mspgcc-users] Mspdebug: "prog" programs vectors, not program code

2016-08-11 Thread David W. Schultz
It has been a while but I seem to remember having a similar problem. Too long ago to remember details but I think it was a problem with the section flags. You can check the flags using msp430-elf-readelf -S XX.elf -- David W. Schultz http://home.earthlink.net/~david.schultz "Life without stock

Re: [Mspgcc-users] Mspdebug: "prog" programs vectors, not program code

2016-08-11 Thread Ben Green
Hello MarkoC, To rule out a problem with the ELF file (it looks like it is OK from the prog output) use the msp430 binutils to disassemble: msp430-objdump --disassemble main.elf That should confirm you have some valid code in your ELF. The flash offsets seem correct for the device you are using