Sida 1 av 1

SABC161RI-L16M bootstrapmode

Postat: 28 oktober 2021, 11:35:47
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.

Re: SABC161RI-L16M bootstrapmode

Postat: 28 oktober 2021, 11:48:43
av Klas-Kenny
Kolla användarmanualen för processorn.

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

Kapitel 15

Re: SABC161RI-L16M bootstrapmode

Postat: 28 oktober 2021, 14:43:08
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

Re: SABC161RI-L16M bootstrapmode

Postat: 28 oktober 2021, 15:04:47
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.

Re: SABC161RI-L16M bootstrapmode

Postat: 28 oktober 2021, 18:33:55
av imac
Det funkade, tack :)