Search found 597 matches

by EmbeddedMan
Tue Jun 21, 2011 5:26 pm
Forum: chipKIT Boards
Topic: CUI32 / UBW32 support?
Replies: 52
Views: 15658

Re: CUI32 / UBW32 support?

Well, guys, this was *way* easier than I expected Absolutely amazing. Rich, you are amazing. The UBW32 (MX460 anyway) is working perfectly under MPIDE (at least as much as expected). With your new bootloader in place, Rich, I was able to upload the following sketch and have it work: void setup() { ...
by EmbeddedMan
Tue Jun 21, 2011 3:56 pm
Forum: chipKIT Boards
Topic: CUI32 / UBW32 support?
Replies: 52
Views: 15658

Re: CUI32 / UBW32 support?

I didn't have the guts to reprogram my UBW32v1, UBW32v2, or CUI32 -- but if you guys point me to the original bootloader files so I can go back, I can test that tomorrow night. Heck, I'll even get to sleep tonite and be chipper for work in the AM! :-) -- Rich Rich, The UBW32 bootloader hex file (fo...
by EmbeddedMan
Tue Jun 21, 2011 3:39 pm
Forum: chipKIT Boards
Topic: CUI32 / UBW32 support?
Replies: 52
Views: 15658

Re: CUI32 / UBW32 support?

Hi Brian, Sorry, but I'd really argue against the mphidflash approach you've described ... I do understand the reasoning, but it really limits the end user to only being able to use the USB as a virtual COMport. Dan Dan, I don't follow this - why would it limit us to only CDC? Why couldn't you just...
by EmbeddedMan
Tue Jun 21, 2011 4:22 am
Forum: chipKIT Boards
Topic: CUI32 / UBW32 support?
Replies: 52
Views: 15658

Re: CUI32 / UBW32 support?

Rich, That's just it - it uses the Microchip USB HID bootloader. It's not custom written - it does not talk to avrdude. The protocol is the Microchip USB HID protocol, just like on the current UBW32. MPIDE calls mphidflash rather than avrdude when it is time to bootload a new sketch. It's just a dif...
by EmbeddedMan
Tue Jun 21, 2011 1:40 am
Forum: chipKIT Boards
Topic: CUI32 / UBW32 support?
Replies: 52
Views: 15658

Re: CUI32 / UBW32 support?

Rich, No, I don't think I'm explaining something properly. In my scheme, the stock UBW USB HID bootloader would be the only bootloader on the board. It may have a couple second delay added while it enumerates as HID device, waits for the PC to detect this and then start sending packets, but otherwis...
by EmbeddedMan
Mon Jun 20, 2011 10:29 pm
Forum: chipKIT Boards
Topic: CUI32 / UBW32 support?
Replies: 52
Views: 15658

Re: CUI32 / UBW32 support?

Hi Brian, I understand what you did, but doesn't that rely on having your code (and ISR) running in the FW that is downloaded by MPIDE? -- Rich Rich, yes, of course. The idea would be to add to the core ChipKIT libraries the functionality to handle this 'behind the scenes' (and hook into the USART ...
by EmbeddedMan
Mon Jun 20, 2011 6:39 pm
Forum: chipKIT Boards
Topic: CUI32 / UBW32 support?
Replies: 52
Views: 15658

Re: CUI32 / UBW32 support?

Yes, I have been planning on supporting the MPIDE on UBW32 at some point. Too many projects right now that I have to get done, so I haven't spent a whole lot of time on it. However, I did prove an important piece. I took the Microchip USB stack, and built an application with it. I set it to run in I...