Hi,
Just tried my 18f452 project code on a 18f4520 with this change, and so far it
works completely OK!
Thanks a lot!!!
(on a side-note, might it be a good idea to disable this by default, as the
datasheet suggests it is?)
Thanks!,
-Bastiaan
On Thursday 16 October 2008 22:07:27 Raphael Neide
Hi Bastiaan,
code char at __CONFIG4L _conf4 = _LVP_OFF_4L & _STVREN_ON_4L;
You might need an additional _XINST_OFF_4L here to disable (!) extended
instructions of the 4520 part.
Good luck,
Raphael
-
This SF.Net email i
Hi,
Had to make a working prototype before the end of the week, so switched to a
18f452, which is working fine now. I'm now using SDCC 2.8.4, snapshot from
somewhere last week, with my own usart code, since the usart code appears to
be missing for the 18f452 when using SDCC 2.8.4
When compilin
Hi Bastian,
did you compare generated ASM code for 452 and 4520 ? Are there some
differences ?
V.
> Hi,
>
> Little follow-up on my own post.
> Tried the same code on the 18f452 (with some small changes to the config to
> make it run). Thistime using SDCC 2.7.0, as the 2.8 snapshot i was using
Hi,
Little follow-up on my own post.
Tried the same code on the 18f452 (with some small changes to the config to
make it run). Thistime using SDCC 2.7.0, as the 2.8 snapshot i was using
complained about missing _usart functions.
It runs as it should. Compiling the code for the 18f4520 using SDC