Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bootloader for 18f452 [solved]
#7
(2011-04-04, 22:46:34)Mikael Gustafsson Wrote: Thanks for all the information. The flash contents looks ok after download.
The change you noticed at 0x7e30 is the goto to the user application.

Do you write configs?
Do you press download within 2 seconds after PIC reset?
Or do you press download and the reset the PIC?

I think the exception is already fixed just not released yet.

Thank you very much.
Yes, I write configs and press download and the reset the PIC, not againSad
How do I add a code into the my ccs code for ds30 bootloader always to use in my project?

for example,
When I use tiny bootloader, my ccs code to add the following code.
Code:
#include <18F452.h>
#device ADC=10  // 10 bitlik ADC kullanılacağı belirtiliyor.
//!//#fuses   HS, NOWDT,NOLVP, NOPROTECT,BROWNOUT, NOPUT, STVREN, NODEBUG, LVP, NOWRT, NOWRTD, NOWRTB, NOWRTC, NOCPD, NOCPB, NOEBTR, NOEBTRB
#fuses XT,NOWDT,NOPROTECT,NOBROWNOUT,NOLVP,NOPUT,NOWRT,NODEBUG,NOCPD
#define  flash_max getenv("PROGRAM_MEMORY")
//==============Bootloader Adress=============================================
#org     flash_max-264,flash_max-1

void bootloader()
{
}
//==============Bootloader Adress=============================================
#use delay(clock=10000000)
#use fast_io(a)
#use fast_io(d) //Port yönlendirme komutları D portu için geçerli

#include "2x16_4x20_LCD.c"
//=========================================================================================

I add this code in my ccs code,I always use tiny bootloader without a problem. But I would like to use ds30loader.
Do I need to add code to my ccs code like this for ds30loader always use?

Tiny Bootloader for 485 link below
http://www.4shared.com/file/b4HD1kbL/Tin...r_485.html

Thank you for your interest.
Reply


Messages In This Thread
Bootloader for 18f452 [solved] - by thenorthstar - 2011-04-01, 16:37:46
RE: Bootloader for 18f452 - by Mikael Gustavsson - 2011-04-01, 22:01:39
RE: Bootloader for 18f452 - by thenorthstar - 2011-04-02, 09:29:03
RE: Bootloader for 18f452 - by Mikael Gustavsson - 2011-04-02, 18:55:47
RE: Bootloader for 18f452 - by thenorthstar - 2011-04-03, 15:20:49
RE: Bootloader for 18f452 - by Mikael Gustavsson - 2011-04-04, 22:46:34
RE: Bootloader for 18f452 - by thenorthstar - 2011-04-05, 10:50:32
RE: Bootloader for 18f452 - by Mikael Gustavsson - 2011-04-05, 22:15:36
RE: Bootloader for 18f452 - by thenorthstar - 2011-04-06, 08:08:41
RE: Bootloader for 18f452 - by Mikael Gustavsson - 2011-04-06, 21:20:32
RE: Bootloader for 18f452 - by thenorthstar - 2011-04-07, 08:36:08
RE: Bootloader for 18f452 - by Mikael Gustavsson - 2011-04-07, 20:06:56

Forum Jump:


Users browsing this thread: 2 Guest(s)