peek and poke
peek and poke
Hi peek and poke would be handy if possible, these features make basic complete for me, helped me out lots with registers in the past. Many thanks
-
- Posts: 222
- Joined: Mon Feb 15, 2021 1:44 pm
- Has thanked: 123 times
- Been thanked: 132 times
Re: peek and poke
What would you be hoping to acheive with this, Barney?
To me it looks like the high-level commands have got it pretty well covered.
Command register reference : https://www.espressif.com/sites/default ... ual_en.pdf
To me it looks like the high-level commands have got it pretty well covered.
Command register reference : https://www.espressif.com/sites/default ... ual_en.pdf
Re: peek and poke
Hi Andy just moving back to esp8266 after using other mcus, which i inplemted peek,poke in the embedded os, i found it useful in accessing interrupt, power mode,saving and wdt registers and peeking around to see what registers get set on bootstrapped devices Thank you for the link
- cicciocb
- Site Admin
- Posts: 1965
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 422 times
- Been thanked: 1310 times
- Contact:
Re: peek and poke
Hi barneyb,
yes it could be possible to implement these functions.
However, these should be adapted to the memory access mode (8, 16 or 32 bits access).
Do you have a real practical example of what you would like to do with these functions?
yes it could be possible to implement these functions.
However, these should be adapted to the memory access mode (8, 16 or 32 bits access).
Do you have a real practical example of what you would like to do with these functions?
Re: peek and poke
hi cicciocb and thank you for bringing life to basic on latter day mcus, i can see me using many features in the rtc_cntl registers, turning wifi off,using pad state to wake it up, i do use low power clocks and watchdog timer wakeups for low consumption on gadgets operating on solar. 32bit deref pointers would be magic.
thank you barney
thank you barney
Re: peek and poke
i would also use poke and peek over easynet (saves flashing) during early development of a gadget, mini live system(poke relay1; 1 peek switch1) see how long the pump needs to run etc. i do not know if annex is subroutine threaded or not if so a return on interrupt vectors, peeking flag set for interrupt multitaking (if memory is reaching its limits with bluetooth etc).
just some thoughts and forgive my ramblings.
all the best barney
just some thoughts and forgive my ramblings.
all the best barney
- cicciocb
- Site Admin
- Posts: 1965
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 422 times
- Been thanked: 1310 times
- Contact:
-
- Posts: 13
- Joined: Wed Mar 10, 2021 5:45 am
- Has thanked: 4 times
- Been thanked: 4 times
Re: peek and poke
Hi, Peek and Poke are cool if you really "know what you are doing!!", but why not..
This is the only way to overcome the strict limitations at Annex-Wifi, but, is was no critics on the really excellent work you just made, cicciocb, tnx a lot!
This is the only way to overcome the strict limitations at Annex-Wifi, but, is was no critics on the really excellent work you just made, cicciocb, tnx a lot!
- Electroguard
- Posts: 846
- Joined: Mon Feb 08, 2021 6:22 pm
- Has thanked: 272 times
- Been thanked: 320 times
Re: peek and poke
Hi, I'm curious about what "strict limitations" you are having, and how peek and poke would overcome them ?This is the only way to overcome the strict limitations at Annex-Wifi
- cicciocb
- Site Admin
- Posts: 1965
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 422 times
- Been thanked: 1310 times
- Contact: