Firmware_manual Rev / DEV_MODE [solved] - Printable Version +- ds30 Loader free edition forums (https://picbootloader.com/forum) +-- Forum: Support (https://picbootloader.com/forum/forumdisplay.php?fid=3) +--- Forum: 8-bit firmwares (https://picbootloader.com/forum/forumdisplay.php?fid=7) +--- Thread: Firmware_manual Rev / DEV_MODE [solved] (/showthread.php?tid=55) |
Firmware_manual Rev / DEV_MODE [solved] - kalain - 2011-03-26 Hi, 1/ ds30loader_110111.exe file has an obsolete ds30_loader_firmware_manual.pdf. This comes with a rev K documentation!! rev M file is available on line ! ds30loader_110111!.exe should get latest documentation file ? 2/In Firmware manual documentation file (rev M) it's writen in page 7 : 2. Customize settings.inc All lines commented with xxx needs to verified/changed. DEV_MODE Used during development, delete or comment this line. If you comment/delete this line (DEV_MODE), you got an build error from MPLAB ! Here is what you can find in line 286 of ds30_loader.asm file (18F firmware) ifndef DEV_MODE error Do you need to configura uart pins to be digital? If not, remove this line endif DEV_MODE variable is used in asm file ! So, rather to delete/comment this line in Settings.inc file, DEV_MODE variable should be better set at 0 ? RE: Firmware_manual Rev / DEV_MODE - Mikael Gustavsson - 2011-03-26 Hi, It should actually be removed and you should follow the instructions in the error. Maybe I should rephrase the error to something like this: "Configure uart pins to be digital if needed, then remove this line" RE: Firmware_manual Rev / DEV_MODE - kalain - 2011-03-26 Well, I'm not sure to understand correctly what has to be done when this line is removed. Because Build failed under MPLab ! RE: Firmware_manual Rev / DEV_MODE - Mikael Gustavsson - 2011-03-26 It is supposed to fail and your are supposed to read the line and take appropriate action. Which device are you using? RE: Firmware_manual Rev / DEV_MODE - kalain - 2011-03-26 Oups! Sorry to forgot. 18F4685. Thanks RE: Firmware_manual Rev / DEV_MODE - Mikael Gustavsson - 2011-03-26 UART pins are not co-located with analog pins so you don't need to configure the a/d. |