18F87K90 configuration - 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: 18F87K90 configuration (/showthread.php?tid=834) |
18F87K90 configuration - _Mark_ - 2013-11-06 Hello, I'm new to this bootloader. I downloaded the latest free version from the forum and did the following changes: Code: settings.inc Questions: 1) I don't know where to find the in the ds the parameters of the device. In detail: RAM_SIZEB, DEVICEID, PAGESIZEW and ROWSIZEW 2) Am I missing something about the configuration of the serial port? 3) I compiled and successfully programmed the MCU using the PicKit 3. But I cannot connect to the bootloader. In fact the GUI doesn't have the 87K90 model listed. I cannot use this bootloader? Thanks Mark RE: 18F87K90 configuration - _Mark_ - 2013-11-06 One step forward, I had to explicitly copy the configuration bit into the code. It seems it doesn't read them from the IDE. Now the baudrate is ok and the UART transmits fine (tested). The problem is the RC2IF bit is not set when a char is received! Perhaps I'm missing something other during initialization? RE: 18F87K90 configuration - _Mark_ - 2013-11-06 Well, the problem of the UART2 was related to a missing banksel instruction. Now I can enter the bootloader and download the firmware using the GUI. Of course it thinks I'm using an 87K22.... There are no errors but the application downloaded is not fully-functional and the bootloader is not executed anymore. Is it due to some differences between 87K22 and 87K90? The manual says for PIC18F I don't have to change anything in my application, is it true? I will really appreciate an answer Thanks in advance I don't know why but it seems it works now. I checked the "write config" and "don't write empty pages". Honestly I don't understand how those flags did the trick. RE: 18F87K90 configuration - Mikael Gustavsson - 2013-11-08 Hi, This may be a problem with RAM banking with the current code. Let me check it out. BR Mikael RE: 18F87K90 configuration - Mikael Gustavsson - 2014-07-19 Hi, I just re-discovered this thread. Not sure why I answered like I did, you already found out and solved the banksel problem. The "write config" and "don't write empty pages" options should not affect the application operation assuming you use the application config bits in the boot loader. Do you still need to check "write config" and "don't write empty pages"? |