MPSIM worked with PBP 2.x, will try with PBP3. It has to.
And NO a simulator do not always give you the good results, some are worst than others. As a guideline they are usually decent tool or pure toy, not much.
MPSIM worked with PBP 2.x, will try with PBP3. It has to.
And NO a simulator do not always give you the good results, some are worst than others. As a guideline they are usually decent tool or pure toy, not much.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
What did you try in MPSIM?
I'm finding that it's reversed in MPSIM.
MOVFF and FSR's work, but banked instructions don't.
DT
I haven't tried this specific PIC yet. I try to stay away of Sims![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
OK, I'm getting closer.
I think I can make USB work on it.
What a screwy chip.
DT
This is all very interesting. Care to share what you've been able to find out so far?
How is this chip different than the others?
Yeh, I've seen that "feature" in a number of the J series parts, not just the J50.But one way it is a bit odd, is it shares addresses for SFR's. See: 5.3.5.1 Shared Address SFRs
It doesn't seem to have anything to do with USB register access, though.
WOW, I've been chasing my tail, and apparently for not.
The MPASM that comes with MPLAB 8.73a was generating incorrect opcodes for the banked instructions.
This was making me think things were happening in the chip that should not have been happening.
The actual silicon in the xxJ50's is not the problem.
There is a new version MPLAB 8.76 which has fixed the errors.
Compile your USB programs using the new assembler, and walla, working USB.
There are other chips that will be affected by the problem, and it's not only USB that will be affected, so it is recommended that everyone with PBP 2.60 or later upgrade MPLAB to a version higher than 8.73a.
DT
I'll give it try tomorrow.
Thanks Darrell
I just recompile CDC from last attempt and it is working. Now just to try HID with VB6.
You save my butt, again![]()
I think it's time to retire one of my signature quotes ...
They don't always do what you tell them.
But I'm definitely keeping this one ...
![]()
DT
Maybe is screwy, but it have everything I need for this project, and it's cheep. Thank you![]()
Bookmarks