所需E币: 3
时间: 2019-12-24 21:18
大小: 498.01KB
OneoftheadvantagesofMicrochipísPICÆmicro-controllerswithself-programmableenhancedFlashmemoryistheabilitytoimplementabootloader.Thisallowsdesignerstoimplementapplicationsthatcanbeupdatedmanytimesover,potentiallyextendingtheapplicationísusefullifetime.Thisapplicationnotedescribesaserialbootloaderfor16-bitPIC24FdevicesusingtheUARTmoduleasacommunicationchannel.ThebootloaderapplicationusesthecommunicationprotocolsoriginallyoutlinedinMicrochipApplicationNoteAN851,ìAFlashBootloaderforPIC16andPIC18Devicesî.SomemodificationstotheoriginalprotocolhavebeenmadetomaintaincompatibilitywiththePIC24architecture.Ithasalsobeenredesignedtoaccommodatethecurrentgenera-tionofPIC24FJFlashmicrocontrollers,aswellasthenextgenerationofPIC24Fdevices.AN1157ASerialBootloaderforPIC24FDevicesAuthor:BrantIveyFIGURE1:BOOTLOADERFUNCTIONALMicrochipTechnologyInc.BLOCKDIAGRAMBootloaderFirmwareINTRODUCTIONUxRXUxTXOneoftheadvantagesofMicrochip’sPICmicro-controllerswithself-programma……