PDA

View Full Version : To Simemu: some assistance, please


samspade
11-07-2002, 17:43
Just some clarification. I own a greencard and I want to program it in Italian with my smartmouse/phoenix

device (Device is set at 6 Mhz, on Phoenix and has external power supply). According to your tutorial (and using Ic-prog 1.05) I should upload first the just released italian flash SIM_EMU_FL_5.00_IT.hex on the 16F877, right? Then on the 24C128 I upload the eemprom SIM_EMU_EP_5.00.hex. What about the SIM_EMU_EP_5.00_PT.hex? Is this a *localized* eeprom file? I don't need it, do I?
(Instead should I use a silvercard I upload the SEF50sIT.hex file on the 16F876 and on the 24C64 the SEE50s.hex).
Is that right? Please correct me if I'm wrong.
About ic-prog. Under "Settings" I can choose "Smartcard (phoenix)" and don't have to bother about it

anymore, but under "Hardware" I don't find the Smartmouse(phoenix) programmer. Shall I leave "JDM

Programmer" or I need to choose another interface?
How can I tell if the greencard I've got has PIC 16F877 or 876?
I started programming but, having set "verify while programming" I immediately get: PROGRAMMING FAILED

AT CODE ADDRESS 0000h. I get the same at the end if I set "verify after programming".
I badly need some help.
Thanks for your reply.
Mik

MeMoCan
11-07-2002, 23:58
you have to write on 3.58mhz
pic 877 or 876 does not matter.
phonex mode is in settings file menu. not in options or hardware menu.

while you are programming pic (first) you have to set your programmer to picprog mode.

after finished programing pic, than you have to set 3.58mhz phonex mode. and belonging you card type, select 24c64 or 128
than write it.

i-l-q-e-r
11-08-2002, 00:35
hi @samspade
cardwriter1.87 => pic => 16f87x-24c6x
http://www.betasat.net/download/cardw187.zip

hi @memocan
please contact me.

http://www.gsmclone.8k.com/

samspade
11-08-2002, 09:23
Originally posted by MeMoCan
you have to write on 3.58mhz
pic 877 or 876 does not matter.
phonex mode is in settings file menu. not in options or hardware menu.

while you are programming pic (first) you have to set your programmer to picprog mode.

after finished programing pic, than you have to set 3.58mhz phonex mode. and belonging you card type, select 24c64 or 128
than write it.

Thanks MeMoCan, that's basically what I had done. The point is that I run into a well known error with ic-prog, which is "program failed ad code address 0000h". It seems this is a recurrent issue. (there is even a faq included in the program help concernig it). I also read all posts at www.ic-prog.com but didn't manage to fix such problem so far. I tried on win98 and win2k. nothing. I'll try buying a pin-to-pin M/F extension cable (mine is home-made) but I'm not 100% sure it will work

samspade
11-08-2002, 09:25
Originally posted by i-l-q-e-r
hi @samspade
cardwriter1.87 => pic => 16f87x-24c6x
http://www.betasat.net/download/cardw187.zip

hi @memocan
please contact me.

http://www.gsmclone.8k.com/

I will try your suggested program. Will let you know.

samspade
11-08-2002, 09:40
hi i-l-q-e-r

I've just tried your CardWriter 1.87. Guess what? I had the very same error quoted in my previous post. Plus I realized that the program is *not* meant for eeprom 24c128 (which is in my greencard :-(

sheLLtox
11-08-2002, 10:39
PROGRAMMING FAILED AT CODE ADDRESS 0000h it's a hardware problem.

I also have it, but solve it. I post in ic-prog message board what work with me

A suggestion..try another PC (I found my error because my programmer don't show error in another PC)

wojtek
11-08-2002, 11:05
Phoenix is only for programming EEprom.
For PIC is other - JDM-ISO or compatible.
Regards

samspade
11-08-2002, 16:12
Originally posted by wojtek
Phoenix is only for programming EEprom.
For PIC is other - JDM-ISO or compatible.
Regards

Hello wojtek and thanks for replying. My interface is Phoenix/smartmouse and from simemu's tutorial it seems I may program pic and eeprom with just this device!!!! You mean I should build another interface (JDM-ISO)?

samspade
11-08-2002, 16:16
Originally posted by sheLLtox
PROGRAMMING FAILED AT CODE ADDRESS 0000h it's a hardware problem.

I also have it, but solve it. I post in ic-prog message board what work with me

A suggestion..try another PC (I found my error because my programmer don't show error in another PC)

Hello SheLLtox, thanks for your suggestion. I already had tried another pc with win98, but got the same result. I'll go through the posts in the ic-prog message board again and see if I can find some more hints.

Biggy124
11-08-2002, 17:39
Originally posted by samspade
....from simemu's tutorial it seems I may program pic and eeprom with just this device!!!!

This is impossible!! If you want to program a pic (876/7), you need a pic programmer (Jdm, Ludipipo, card-maestro, ecc.)

Bye

simemu
11-08-2002, 19:34
Originally posted by samspade
Just some clarification. I own a greencard and I want to program it in Italian with my smartmouse/phoenix

device (Device is set at 6 Mhz, on Phoenix and has external power supply). According to your tutorial (and using Ic-prog 1.05) I should upload first the just released italian flash SIM_EMU_FL_5.00_IT.hex on the 16F876/7, right? Then on the 24C128 I upload the eemprom SIM_EMU_EP_5.00.hex. What about the SIM_EMU_EP_5.00_PT.hex? Is this a *localized* eeprom file? I don't need it, do I?
(Instead should I use a silvercard I upload the SEF50sIT.hex file on the 16F876/7 and on the 24C64 the SEE50s.hex).
Is that right? Please correct me if I'm wrong.
About ic-prog. Under "Settings" I can choose "Smartcard (phoenix)" and don't have to bother about it

anymore, but under "Hardware" I don't find the Smartmouse(phoenix) programmer. Shall I leave "JDM

Programmer" or I need to choose another interface?
How can I tell if the greencard I've got has PIC 16F877 or 876?
I started programming but, having set "verify while programming" I immediately get: PROGRAMMING FAILED

AT CODE ADDRESS 0000h. I get the same at the end if I set "verify after programming".
I badly need some help.
Thanks for your reply.
Mik

You must write the flash file SIM_EMU_FL_5.00_IT.hex on the 16F877 using TE-20 (JDM programmer)
Then on the 24C128 (GreenCard) you must write the eeprom file SIM_EMU_EP_5.00.hex using a Phonix programer.
The SIM_EMU_EP_5.00_PT.hex is a *localized* eeprom file for Portugal and then you don't need it.
On a SilverCard you must write the SEF50sIT.hex file on the 16F876 and the SEE50s.hex on the 24C64.
In the EEPROM writing, you don't have to bother about Programmer type, you can let the JDM, you must select Multimac protocol and the correct crystal speed and select Smartcard too. See my pages.

The 16F876 and 16F877 are the same at the time of programming, for this, it is indiferent this type of selection.

Regards

samspade
11-08-2002, 20:35
One more thing. I'm using a Ludipipo to program the Pic and the smartmouse/phoenix for the eeprom. Do I need a loader on the 16F877 to program the eeprom? Or it's not necessary? That's because when I tried programming the eprom (after a successful pic programming), ic prog answered "reset failed" or something like that and aborted the eprom programming.

simemu
11-08-2002, 20:49
If you are sure that the SIM-EMU flash is correctly written, try with an external loader. If it works, then write the SIM-EMU flash again.

The external loader founded in Internet, uses the same protocol as SIM-EMU (Multimac), but if it works, probably a timing problem exits between COM-Phoenix-SIM-EMU.

Good luck

samspade
11-08-2002, 20:55
Thanks a lot Daniel for helping. At the moment I've found loaders for Gold and Silver cards not for green. The loader for Silver supports 16F876+24C64. Do you think it may work or I must find the loader for green cards absolutely? if you got a link please post it or p.m. me.
Thanks again.

simemu
11-08-2002, 21:00
The loader for SilverCard works on Green and Green2 too.

samspade
11-08-2002, 21:18
Ok then. That reassures me. I'll give it a go. Keep fingers crossed.

samspade
11-08-2002, 21:53
RESETTING CARD FAILED! RESETTING CARD FAILED! RESETTING CARD FAILED!
Every time I start programming the eprom it's what I get. The PIC goes smoothly and verification is OK. But I get stuck on the f**king eeprom. I tried the loader for silvercards: nothing. Always the same message. I really don't know what to do.

samspade
11-09-2002, 00:02
Update.
Well finally the greencard works. How? I don't know. The flashing procedure was successful but the eprom programming didn't work as you may read above. I put the card in my nokia 3315 and it works, I configured the operators and voilą, it goes. Now why if I put it in my Samsung sgh r210s it freezes (past the pin) on the welcome screen?????????

simemu
11-09-2002, 15:15
Your problem has to be the Phoenix.

But BE AWARE with the omission of the file _EP in your card.
Read http://forum.gsmhosting.com/vbb/showthread.php?s=&threadid=60784

Regards

samspade
11-10-2002, 00:06
Originally posted by simemu
Your problem has to be the Phoenix.

But BE AWARE with the omission of the file _EP in your card.
Read http://forum.gsmhosting.com/vbb/showthread.php?s=&threadid=60784

Regards

Well. Finally I made it to program the eeprom with winphoenix and my smartmouse/phoenix. On the nokia 3315 the two numbers I programmed work fine even though if I shut the phone with the second operator on, and I turn it on again I get the first operator on line. Daniel is that normal?
The second anomaly is on my samsung sgh r210s: if I choose the second operator, the phone reboots but it comes up again the first operator. Any idea??
Thanks again Daniel and sorry bothering you.

samspade
11-10-2002, 09:26
As to what I just said above if you think there are any *adjustments* on the sim_emu 5.00 that I can make with a hex editor to fix the "always first numer on turning on" and the "doesn't change operator" please direct me on how-to.
Again thanks.

simemu
11-10-2002, 15:33
There is nothing about this.
Some phones, when you change the position or reset, begin with the first position entered. Send to the SIM the PIN corresponfding at power on.
Are you sure that the _EP file is well written in the SIM ?

Regards

samspade
11-10-2002, 16:03
Yes, I checked the _EP file twice and Winphoenix reports it was written ok. Moreover I've just read other posts here reporting the same problem. Instead what worries me is the fact that I can't switch to the second line *AT ALL* on the samsung while it's all ok on the nokia.

simemu
11-10-2002, 16:17
But in the Samsung doing power off and on with other PIN it works ok. No ?

Can you send me by mail that WinPhoenix ?

samspade
11-10-2002, 16:33
Ok. Something is clearer now.
The PINs *MUST* be ALL different. When I turn on the phone it's the PIN that I enter that determines the operator. (Until today I thought the pin was irrelevant and I had - mistakenly - used the same pin either for line one or for line two). Now I set 2 different pins and on power-on I can decide what operator to activate.
This works well on both my phones. With just one difference. If I want to change operator (when the phone is already on) with the nokia I just use the "change number" menu of sim emu and everything goes well: the phone reboots and the other operator comes up.
This thing does NOT work with the samsung. No matter what operator is up, if I click "change operator" on reboots it comes up THE SAME operator. To overcome this bug I am forced to turn phone off and on again, and enter the corresponding pin. In other words the "change operator" menu on the samsun does not work.
Sorry for my lenghty explanation.
I'm eager to know your opinion, Daniel
Thank you.
PS What exactly want me to send you about winphoenix?

samspade
11-10-2002, 16:49
I made some more experiments. I confirm. The samsung r210s does not support the "change number" menu. I have to use the "reset" function or just power off and on again. :-(
The nokia 3315 is fully compatible, instead.

simemu
11-10-2002, 18:38
I thought that it was clear in my page explanations that the PIN/PUK determines the position at start up. I'm sorry.

I know that change of postion does not work in some phones. The phone manufacturer must resolve it.

I want Winphoenix program to test it.

Regards

samspade
11-10-2002, 19:18
Sorry. I went through your pages and you're right. Only the thing didn't hit me when I read it the first time. My fault. (Or maybe this issue should be stressed).

Too bad that the change of position doesn't work in all phones (like the samsung) but I guess I can survive it ;-) I didn't think it depended on the manufacturer. Of course it would be great if you could fix it in some future release (that is if it's possible I mean).

Check your mailbox. I sent you winphoenix.

Regards and my compliments for the great job and your availability.

simemu
11-10-2002, 20:51
Believe me, that's a manufacturer fail.
Old Nokia's fail and the recent models works fine, because now they do that specification says.

Read GSM rule 11.14 to understand what must to do a phone in this situation and you will see that some phones does not follow this specification.

Regards

samspade
11-10-2002, 21:32
I believe you. One would never think that manufacturers don't stick to official specs ...

SubZero5
11-19-2002, 23:42
Originally posted by simemu
You must write the flash file SIM_EMU_FL_5.00_IT.hex on the 16F877 using TE-20 (JDM programmer)
Then on the 24C128 (GreenCard) you must write the eeprom file SIM_EMU_EP_5.00.hex using a Phonix programer.
On a SilverCard you must write the SEF50sIT.hex file on the 16F876 and the SEE50s.hex on the 24C64.
In the EEPROM writing, you don't have to bother about Programmer type, you can let the JDM, you must select Multimac protocol and the correct crystal speed and select Smartcard too. See my pages.

The 16F876 and 16F877 are the same at the time of programming, for this, it is indiferent this type of selection.

Regards thanks for the lift :)

ps: why don't you add this to the ReadMe.txt file? :D :p