There's no way for me to tell what's happening, since your snippets all compile.
If I had your whole program, maybe I could see what's going on.
There's no way for me to tell what's happening, since your snippets all compile.
If I had your whole program, maybe I could see what's going on.
DT
Thanks Darrel,
the hole program is big, but here it is attached:
Maybe you can see with one small glance what is the cause of the error, the origin (that is me, but...). I sure wish to find the problem, what is causing this mysterious behavior.
Nevertheless, maybe you can see the problem with one glance...
I don't think the file was accepted.
Try adding a .txt extension.
DT
DEFINE RESET_ORG 1000h ' Room for Microchip USB Bootloader
That's 4K, +28K = 32K
The chip is FULL.
DT
Oops
TRUE ! and thank you for pointing out that.
Didn't know/understand that when the number shown in the lower left corner (Success 28676 : bytes used) of MicroCode Studio did not include those 4k! That explains now really a lot.
Obviously the program is too big![]()
There is not a big brother to 18F4550, that would be otherwise like but with 48 or 64 k of program memory? Or is there?
USB is the reason in the first place to choose 18F4550...
Then of course ...
when it is not possible to continue with a processor with only 32k of program mem then..
How about... PIC18F4620 with 64k of program memory and almost pin equivalent (with 4550) but unfortunately without USBbut then again, I wonder how much code it would take if one would integrate USB/UART circuit FT232 unit along with 18F4620.
I suppose that it (FT232) has been used all around the world,
so I will try to look around and see what kind of experience people has...
Any experience with FT232? My only fear is that the "driver" for it in PIC is too big, or maybe the algorithm will for a working system consumes most time, I don't know.
What other troubles would one expect with such a plan?
Let's play with the idea that it already done and working (18F4620&FT232) so would it be possible to use that system with some kind of a bootloader?
I don't know what the Microchip bootloader is compatible with.
But the MPS shows these USB parts with 64K or more.
The chips listed that are not supported in PBP 2.60A, will be added in PBP 2.60B.
Note: They are all 3V parts.
Otherwise, you can make your own FT232 equivalent with any USB PIC chip using CDC.
The 13K50 is probably the smallest @ 20 pins, and is 5V.
DT
Bookmarks