wiping clean the X2 scratch pad

BrendanP

Senior Member
I'm using hsersetup B115200_4,%01 to write data from a 3G module to the scratch pad for latter processing.

The program works through the scratch pad looking for combinations of ASCII letters etc. in order to know what sub routines/goto's to jump to.

Ideally I want to wipe the pad clean after each time the program runs through the pad. I'm finding that data is left on the pad which then complicates things next time the interrupt is triggered and the program runs through the pad.

How can I wipe the pad clean so it is in the same state as it is after download?

Ive tried using HSERSETUP OFF and then hsersetup B115200_4,%01 but it doesn't seem to make a difference, the old data remains.
 
Top