ds30 Loader free edition forums
PIC16f1509 new issue - 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: PIC16f1509 new issue (/showthread.php?tid=554)



PIC16f1509 new issue - gelay - 2013-03-12

Hi,

I have some define issue... i think...in the UART.INC 116,118 line (SPBRG)??

log:

Release build of project `Z:\DOKSIK\ELEKTRONIKA\Bootloader\new\ds30 Loader\firmware PIC12F PIC16F\ds30Loader.mcp' started.
Language tool versions: MPASMWIN.exe v5.45, mplink.exe v4.43, mplib.exe v4.43
Tue Mar 12 16:37:14 2013
----------------------------------------------------------------------
Make: The target "Z:\DOKSIK\ELEKTRONIKA\Bootloader\new\ds30 Loader\firmware PIC12F PIC16F\src\ds30loader.o" is out of date.
Executing: "C:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe" /q /p16F1509 "ds30loader.asm" /l"ds30loader.lst" /e"ds30loader.err"
Error[113] Z:\DOKSIK\ELEKTRONIKA\BOOTLOADER\NEW\DS30 LOADER\FIRMWARE PIC12F PIC16F\SRC\UART.INC 116 : Symbol not previously defined (SPBRG)
Error[113] Z:\DOKSIK\ELEKTRONIKA\BOOTLOADER\NEW\DS30 LOADER\FIRMWARE PIC12F PIC16F\SRC\UART.INC 118 : Symbol not previously defined (SPBRG)

Halting build on first failure as requested.
----------------------------------------------------------------------
Release build of project `Z:\DOKSIK\ELEKTRONIKA\Bootloader\new\ds30 Loader\firmware PIC12F PIC16F\ds30Loader.mcp' failed.
Language tool versions: MPASMWIN.exe v5.45, mplink.exe v4.43, mplib.exe v4.43
Tue Mar 12 16:37:17 2013
----------------------------------------------------------------------
BUILD FAILED

Need help...
Thanx
Krisztian


RE: PIC16f1509 issue - gelay - 2013-03-13

Some idea how to solve?
Thx
Krisztian


RE: PIC16f1509 issue - Mikael Gustavsson - 2013-03-13

Hi,
Try with this new uart.inc and let me know the result.

Thanks


RE: PIC16f1509 issue - gelay - 2013-03-13

(2013-03-13, 13:02:27)Mikael Gustavsson Wrote: Hi,
Try with this new uart.inc and let me know the result.

Thanks

Build succeeded!
Thx! Smile


RE: PIC16f1509 new issue - gelay - 2013-03-13

Build succeeded, but can't communicate with the bootloader, i think it isn't at the right place....(the goto is in the second line and...)
Hex file attached, please take a look.

Thank you
K...


RE: PIC16f1509 new issue - Mikael Gustavsson - 2013-03-13

Attach the entire zipped MPLAB IDE project.
Thanks


RE: PIC16f1509 new issue - gelay - 2013-03-14

Hi

Here it is..I've made only the necessary settings and config mod.

Thanks
Krisztian


RE: PIC16f1509 new issue - Mikael Gustavsson - 2013-03-14

INTOSC defaults to 500kHz, you need to configure it for 16MHz if that is what you want


RE: PIC16f1509 new issue - The_Pdaiodanish - 2013-11-22

Hi,

I'm using the ds30 loader, most recent version, which supports the 16F1509 with the attached uart.inc in this thread.
I'm running the PIC at 16 MHz, internal Oscillator, no Watchdog, no Brownout reset (for debugging purposes).

When I connect the windows application it detects the correct PIC and then fails when writing the flash memory with a timeout.
Sometimes Erasing gets acknowledged successfully by the PIC. I've attached a screenshot of a serial port monitoring software to show the communication.
It seems as if the PIC suddenly resets itself.
My MPLAB project is attached, too.

Do you have any ideas? The same configuration runs perfectly on lots of different PICs, it's a great bootloader!

Thanks a lot in advance Shy


RE: PIC16f1509 new issue - Mikael Gustavsson - 2013-11-23

Hi,
Please start a separate thread.