CPU/Crossbar/GPIO/JTAG/Package
  Replacement of C8051F330P with C8051F330

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Replacement of C8051F330P with C8051F330
krishnahari.pg
Member
posted July 23, 2010 08:30 AM     Click Here to See the Profile for krishnahari.pg   Click Here to Email krishnahari.pg     Edit/Delete Message
hi

i done a project based on c8051F330p(24pin).
i replace that controller with c8051F330(20pin) with as required wiring.
while programming the controller it gives error.

Flash read failure.
Packet not available failure.

is it replacement ok?
it will work or not plese give the solution.

IP: Logged

Scotty
Member
posted July 23, 2010 03:48 PM     Click Here to See the Profile for Scotty     Edit/Delete Message
Hi krishnahari,

is it replacement ok?
That's what you have to decide
Unfortunately you provided very little information. If you've ensured that pin assignment is correct, it might be soldering error, or ESD, or...or...

while programming the controller it gives error.
That means the chip itself is properly detected?
What about the PCB? Is it a self-made PCB? Maybe it's a power supply problem, what about the supply capacitors? Are they placed as near as possible to the pin?

Regards,

Scotty

IP: Logged

krishnahari.pg
Member
posted July 24, 2010 12:00 AM     Click Here to See the Profile for krishnahari.pg   Click Here to Email krishnahari.pg     Edit/Delete Message
hi Scotty

I am not yet decided.
i am asking you.

I already programmed C8051F330P(24dip) on same PCB, Its working fine.

According to you suggestion i verified soldering.
No problem with that.

please give a solution for it.

IP: Logged

Scotty
Member
posted July 24, 2010 03:31 AM     Click Here to See the Profile for Scotty     Edit/Delete Message
Hi krishnahari,

i am asking you.
And I answered based on the informations you provided:
- soldering okay
- wiring okay
- ESD failure -> try another chip
- chip properly detected -> not answered by you
- chip full erase before programming/reading (maybe security bits are active) -> check it
- PCB self-made? -> not answered by you
- capacitors close to chip supply pins -> not answered by you

You see, I already have answered as good as I can. Your part still is partially open

Regards,

Scotty

IP: Logged

krishnahari.pg
Member
posted July 24, 2010 04:52 AM     Click Here to See the Profile for krishnahari.pg   Click Here to Email krishnahari.pg     Edit/Delete Message
hi Scotty

PCB was self made.
capacitors ARE CLOSED to chip supply pins.

i tried on 3(20dip) controllers.
when i press connect it was connected.

On 1st Time:
when try to erase code space it was erased.
when i try to download
it gives error like this
FLASH READ FAILED
PACKET NOT AVAILABLE FAILURE

On 2nd try:
when try to erase code space AGAIN
1)It giveS SLFL configuration error.

2)TARGET FAILED TO RESPOND
SYSTEM IS BEING DISCONNECTED

3)FLASH READ FAILED
PACKET NOT AVAILABLE FAILURE

IP: Logged

Scotty
Member
posted July 24, 2010 05:45 AM     Click Here to See the Profile for Scotty     Edit/Delete Message
Hi krishnahari,

okay, now I've a basic understanding about the situation

PCB was self made.
Okay. Please describe the connections of RST and C2D signals. If a RC-reset circuit is used, try it without the capacitor.
Also describe the power supply.

when i press connect it was connected.
Okay. So communication itself is (mainly) good. How long is the cable from debug adapter to the board and from the board connector to the MCU?

Which tool are you using to download? SiLabs provides more than one tool (IDE, production programmer, etc.) to program the device, so try a different one and give feedback about the behaviour.

Regards,

Scotty

IP: Logged

krishnahari.pg
Member
posted July 24, 2010 06:08 AM     Click Here to See the Profile for krishnahari.pg   Click Here to Email krishnahari.pg     Edit/Delete Message
thank you Scotty

i didnt provide separate reset circuit in my project.
i used 10PIN connector for debugger in(C2)interface. in that
Pin 1-------> +3.3
pin 2,3,9---> GND
pin 4-------> C2D
Pin 7-------> C2CK/RST
remain are NC

thank you.
these pins were routed according to silabs development board.

LM2937 regulator for 3.3v volts.
when i checked on supply pins of controller
its around 3.273V.

i use same cable that comes with debugger.
it is a small length from connector to controller.

i am using SiLabs USB Debugger.

IP: Logged

Scotty
Member
posted July 24, 2010 07:17 AM     Click Here to See the Profile for Scotty     Edit/Delete Message
Hi krishnahari,

these pins were routed according to silabs development board.
This means you have exactly the same circuit (maybe without the reset button)?

What about the suggested removal of the reset capacitor?

LM2937 regulator for 3.3v volts.
when i checked on supply pins of controller
its around 3.273V.

Okay, I think it's not a supply problem.

i use same cable that comes with debugger.
it is a small length from connector to controller.

Should be okay if no other near signals could disturb.

i am using SiLabs USB Debugger.
That's clear, but I asked you to try one of the available software tools, e.g. if you use the IDE to download the software try the production programmer software and vice versa. With this test I want to verify if it might be a problem of the download application.

Regards,

Scotty

IP: Logged

vanmierlo
Member
posted July 25, 2010 04:46 PM     Click Here to See the Profile for vanmierlo   Click Here to Email vanmierlo     Edit/Delete Message
I would also advise a pullup of 10k to 3V3 on C2K/RST.

IP: Logged

krishnahari.pg
Member
posted July 25, 2010 11:36 PM     Click Here to See the Profile for krishnahari.pg   Click Here to Email krishnahari.pg     Edit/Delete Message
Hi Scotty

no capacitor at RESET circuit.
i will try on other programmer.

Regards,
hari

IP: Logged

krishnahari.pg
Member
posted July 29, 2010 05:09 AM     Click Here to See the Profile for krishnahari.pg   Click Here to Email krishnahari.pg     Edit/Delete Message
hi

i programmed C8051F330(20pin) with silabs debugger alone(OUTCIRCUIT) its ok.
when i replaced C8051F330(24pin) with this one.with required wiring.

its working but not working as i required.
same program working fine with 24pinDip.

Regards,
hari

IP: Logged

krishnahari.pg
Member
posted July 30, 2010 07:19 AM     Click Here to See the Profile for krishnahari.pg   Click Here to Email krishnahari.pg     Edit/Delete Message
hi Scotty

thank u problem was solved.

IP: Logged

erikm
Member
posted July 30, 2010 08:22 AM     Click Here to See the Profile for erikm   Click Here to Email erikm     Edit/Delete Message
problem was solved

how, would be nice to know

Erik

IP: Logged

krishnahari.pg
Member
posted July 30, 2010 11:39 PM     Click Here to See the Profile for krishnahari.pg   Click Here to Email krishnahari.pg     Edit/Delete Message
hi

Programming on PCB was problem.
Programming out circuit ok.

Some loose connections.

Regards,
hary

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | MCU User Forum

Have you seen our MCU Knowledge Base?


Ultimate Bulletin Board 5.47b