cancel
Showing results for 
Search instead for 
Did you mean: 

ISP Programming - MDT2-DVP2 - ST72C334

mail10
Associate II
Posted on June 14, 2005 at 11:46

ISP Programming - MDT2-DVP2 - ST72C334

9 REPLIES 9
mail10
Associate II
Posted on June 10, 2005 at 13:21

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.

wolfgang2399
Associate II
Posted on June 13, 2005 at 13:37

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 WoRo

mail10
Associate II
Posted on June 13, 2005 at 15:06

72 C 334 J4 selected... :-?

wolfgang2399
Associate II
Posted on June 14, 2005 at 04:56

Sorry for this question: ... and the µC is a 72C334J4?

mail10
Associate II
Posted on June 14, 2005 at 06:14

indeed...

wolfgang2399
Associate II
Posted on June 14, 2005 at 08:23

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.

mail10
Associate II
Posted on June 14, 2005 at 08:40

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.

mail10
Associate II
Posted on June 14, 2005 at 10:14

It has no effect... I still get the error...

wolfgang2399
Associate II
Posted on June 14, 2005 at 11:46

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...