Hello guys
There is a ready-to-use bootloader in mikroC PRO for PIC32 for PIC32MX795F512H.
It works with mikroBootloader USB HID.exe.
But what are the connection requirements for the PIC? I mean, the simplest schematic to work with bootloader?
Thanks in advance!
So, to sum things up:
- 5V from USB to VBUS
- VUSB to 3.3V
- all GND and AGND to ground, all VDD and AVDD to 3.3V
- D+ to D+, D- to D- (obviously)
- 8MHz crystal
- MCLR 10k pullup
- VCAP 10uF to ground
Please check the schematic:
What about USB ID pin? Can be left floating in the air?
Both and datasheet, and I've included only components for USB operation. I will add 3.3V regulator as well, and 100nF capacitors, but those are obvious things.
I don't know the board so this might not be relevant . The MCUs do not come pre-programmed from Microchip so you need to put the bootloader code into the MCU in the first place, typically via the ICSP interface. Of course, if this has been done for you by someone else then that will be fine.
Susan
This isn't really an answer to my question. That power supply schematic contains some chips like TPS2041B, TPS63060 even some MOSFETs like DMP2160UW and diodes like PMEG3010ER. And the battery charger...
I want just the *minimal* connection, so as for the power supply I will just use a single 3.3V LDO with some capacitors.
I don't know the board so this might not be relevant . The MCUs do not come pre-programmed from Microchip so you need to put the bootloader code into the MCU in the first place, typically via the ICSP interface. Of course, if this has been done for you by someone else then that will be fine.
Susan
USBID pin would be used in case you are implementing OTG (dual role) functionality. I guess you don't. I also don't expect that the mikroC HID code will utilize the pin.
Ok, so I assume that the schematic I've posted is correct. I will add more 100nF capacitors, 3.3V LDO and will try to flash bootloader there with PICKIT and then to use it.