Yosmany325
Member level 3
- Joined
- Oct 31, 2012
- Messages
- 62
- Helped
- 8
- Reputation
- 16
- Reaction score
- 8
- Trophy points
- 1,298
- Activity points
- 1,758
HI, everyone. I´m trying to make a bootloader using PIC18F2550 and MCC18. Using the code attached and simulating with Proteus 7.9 SP1 the pic enumerates correctly. The problem arises when my device receives a request it can not process. When this happens, the firmware returns STALL as should be, but after that it continues sending that response, EVEN WHEN the request is ok. I need help to detect what´s wrong. Thanks in advance. Yosmany325
Note: Some parts in the code are in assembler to reduce final code size.
Thanks in advance.
Ahh. The program used to test HID is HidTest
Note: Some parts in the code are in assembler to reduce final code size.
Thanks in advance.
Ahh. The program used to test HID is HidTest
Attachments
Last edited by a moderator: