Jump to content

can I use a 18F4680 instead of 18F452?


tomcody

Recommended Posts

in my country apparently there is no 18F452  :-\, but there is 18F4680, and my questions are: Can I use a 18F4680 instead of 18F452? ???, What changes I have to do to the ASM code?  ??? (I don't have kwonledge of ASM, but I know C, that can help me ...). Thanks. :)

Link to comment
Share on other sites

Maybe recompiling is enough (I don`t think so...).

At least you would have to change some parts of the source. Look at the changes Thorsten has made for the 18F4620.

But even a recompiled version of MIOS will not work if the 18F4680 has the same silicon bug as Thorsten has found during the 18F4620 development and which is still not fixed by microchip :(

http://www.midibox.org/forum/index.php?topic=4838.0

So, better to go for a 18F452. Where do you live?

Maybe you can buy 18F452s at Mikes or SmashTV's shop.

Raphael

Link to comment
Share on other sites

Thanks for your attention to my question, I hope that the 18F4680 does not have the same problem of the 18F4620, I was searched about this in microchip.com but I don't find anything, I will post in http://www.midibox.org/forum/index.php?topic=4838.0 about this doubt. I'm a little distrusted about the shipping, it could spoil or something. The advantage is that on SmashTV's Store they can send it me programmed with the bootstrap loader, and the cost are the relatively the same: buy on SmashTV's Store, including shipping, etc; or buy the 18F4680 in my country (Chile, South America) ... well, I will think deeply in this before do something, I will be glad if you post any other advice, thanks again to you raphael and Jidis.

Link to comment
Share on other sites

Just one month ago I tried some fresh 18F4620 and 18F4520 samples - they still have the EUSART bug. In the meantime it turned out, that not only the transmitter is affected, but also the receiver (sometimes it gets a frame error).

Especially the fails on the 18F4520 prove that this is no configuration problem, since this device is 1:1 hard-and software compatible to the 18F452, where the Bootloader and MIOS are running pretty stable.

I gave it up to inform the Microchip support about this issue. I tried it three times, each time I was handled like a newbie, or they confirmed the bug and gave me suggestions which are just totally useless. E.g. one suggestion was, that the transmitting routine has to turn off and on the serial transceiver after each transfer - with the result, that continuous back-to-back transfers are not possible anymore, and that incoming data will be corrupted (no full-duplex anymore).

So - don't buy any PIC which includes the EUSART, it won't work with MIDI.

Once Microchip releases new chip revisions, I will try it again.

Best Regards, Thorsten.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...