2005-06-14 02:46 AM
ISP Programming - MDT2-DVP2 - ST72C334
2005-06-10 04:21 AM
Hi,
I have a trouble trying to program ISP with MDT2-DVP2 and ST72C334. I manage to read from target to STVP but I cant program. I get an error 'Programming failed at adress C001'. What is strange is that I manage to program the OPTION BYTE but not the whole device. I've tried with different chips but it's all the same... :-[ Any help would be appreciated. Thanks.2005-06-13 04:37 AM
Hi,
be shure that you have selected the correct type: e.g. or 72C334N4 because 72C334x2 type has only 8Kbyte with the flash starting at E000h. In this case you must not have any part of your program at C000h... Regards WoRo2005-06-13 06:06 AM
72 C 334 J4 selected... :-?
2005-06-13 07:56 PM
Sorry for this question: ... and the µC is a 72C334J4?
2005-06-13 09:14 PM
indeed...
2005-06-13 11:23 PM
I suppose you'll say: indeed it is a ..J4.
- Then what about your optionbyte and do you programm it first? - When does appear the error message 'Programming failed at adress C001'? (At programming or at verifying?) - What is the value at address C000? - Which version of STVP do you use? - What happens, if you read out the memory? I can't test it out because I don't use the MDT2-DVP2.2005-06-13 11:40 PM
Yes, it is a J4... sorry for being unclear...
- then what about your optionbyte and do you programm it first? FC 8F => 42/44 pins Package Program Memory NOT Read-Out Protected CSS disabled OSC HS LVD off WDG HALT Reset when halt WDG SW Software ...and I don't program it first (I've tried but It didn't change a thing) - When does appear the error message 'Programming failed at adress C001'? (At programming or at verifying?) It appears at the beginning of programming. When I click on 'program' button, the '0%' appears in the progress bar, then freezes a second, and the message box appears with the message. - What is the value at address C000? 9B = Set Interrupt Mask (SIM) - Which version of STVP do you use? 1.9.2 - Mar 17 2004. I'll try to upgrade... - What happens, if you read out the memory? It returns a blank device... FF FF FF FF.... for the program memory. I am able to program and to verify Option Byte successfuly.2005-06-14 01:14 AM
It has no effect... I still get the error...
2005-06-14 02:46 AM
Can you try to use your µC as ...J2 and start programming at address E000, just to see what happens.
At least, I can imagine a supply conflict 5V versus 3.3V and then my ideas are exhausted...