SABC161RI-L16M bootstrapmode

PIC, AVR, Arduino, Raspberry Pi, Basic Stamp, PLC mm.
imac
Inlägg: 490
Blev medlem: 25 augusti 2004, 08:02:11
Ort: Herrljunga

SABC161RI-L16M bootstrapmode

Inlägg av imac »

Hur gör man för att starta upp SABC161RI-L16M i bootsptapmode?

Har googlat på det men bara hittat något kryptiskt som detta:

Från databladet 'http://pdf.datasheetcatalog.com/datashe ... d161ri.pdf
The PORT0 configuration is treated like on a hardware reset. Especially the bootstrap loader may be activated when P0L.4 is low.

https://www.google.com/url?sa=t&rct=j&q ... hcX3A7Urm6
The microcontroller is placed in a bootstrap mode only if certain conditions are met at a hardware interrupt. In C166 processors, the level of the ALE line is interrogated.
Användarvisningsbild
Klas-Kenny
Inlägg: 11292
Blev medlem: 17 maj 2010, 19:06:14
Ort: Växjö/Alvesta

Re: SABC161RI-L16M bootstrapmode

Inlägg av Klas-Kenny »

Kolla användarmanualen för processorn.

https://www.keil.com/dd/docs/datashts/i ... 1ri_um.pdf

Kapitel 15
imac
Inlägg: 490
Blev medlem: 25 augusti 2004, 08:02:11
Ort: Herrljunga

Re: SABC161RI-L16M bootstrapmode

Inlägg av imac »

Är det bara att jorda den vid uppstart eller är det viktig att den "samplas" vid rätt tid enligt bilden?

Entering the Bootstrap Loader
The C161RI enters BSL mode if pin P0L.4 is sampled low at the end of a hardware reset. In this
case the built-in bootstrap loader is activated independent of the selected bus mode.
Bootstrap C166.JPG
Du har inte behörighet att öppna de filer som bifogats till detta inlägg.
Användarvisningsbild
Klas-Kenny
Inlägg: 11292
Blev medlem: 17 maj 2010, 19:06:14
Ort: Växjö/Alvesta

Re: SABC161RI-L16M bootstrapmode

Inlägg av Klas-Kenny »

Bör bara vara till att ha pinnen jordad när RST släpps. Själva samplingen görs automatiskt vid uppåtgående flank på RST.
imac
Inlägg: 490
Blev medlem: 25 augusti 2004, 08:02:11
Ort: Herrljunga

Re: SABC161RI-L16M bootstrapmode

Inlägg av imac »

Det funkade, tack :)
Skriv svar