Click here to Skip to main content
15,885,883 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Strolling off the edge Pin
Kenneth Haugland5-Apr-23 11:24
mvaKenneth Haugland5-Apr-23 11:24 
GeneralRe: Strolling off the edge Pin
jmaida5-Apr-23 15:26
jmaida5-Apr-23 15:26 
GeneralRe: Strolling off the edge Pin
honey the codewitch5-Apr-23 15:34
mvahoney the codewitch5-Apr-23 15:34 
GeneralRe: Strolling off the edge Pin
jmaida5-Apr-23 16:04
jmaida5-Apr-23 16:04 
GeneralRe: Strolling off the edge Pin
den2k885-Apr-23 21:42
professionalden2k885-Apr-23 21:42 
GeneralRe: Strolling off the edge Pin
jmaida6-Apr-23 6:42
jmaida6-Apr-23 6:42 
GeneralRe: Strolling off the edge Pin
BernardIE53176-Apr-23 3:09
BernardIE53176-Apr-23 3:09 
GeneralRe: Strolling off the edge Pin
honey the codewitch6-Apr-23 10:09
mvahoney the codewitch6-Apr-23 10:09 
as for your situation would it make sense to run your code on a desktop/laptop in a kind of simulator of your devices w/ memory protection code so as to find any such errors ?


In some cases - well many cases - yes, because I write my code to be cross platform wherever possible, but in this case, it wouldn't have made sense because it's I2S driver level stuff where there's no corollary on a PC. I'd have to write (and debug!) an emulator for it, so it just adds to the test matrix rather than solving anything.

My errors were dumb ones, TBH. The kind that are somewhat embarrassing but easy to find and fix once you step away and come back to it.

Pointer ops are nothing special to me. I take to them pretty readily and don't often make mistakes. When I do, they're usually kind of typo or memory lapse varieties.
To err is human. Fortune favors the monsters.

GeneralRe: Strolling off the edge Pin
BernardIE53176-Apr-23 11:45
BernardIE53176-Apr-23 11:45 
GeneralRe: Strolling off the edge Pin
jeron16-Apr-23 12:25
jeron16-Apr-23 12:25 
GeneralRe: Strolling off the edge Pin
jschell7-Apr-23 9:35
jschell7-Apr-23 9:35 
GeneralRe: Strolling off the edge Pin
jschell7-Apr-23 9:34
jschell7-Apr-23 9:34 
GeneralRe: Strolling off the edge Pin
BernardIE53177-Apr-23 11:01
BernardIE53177-Apr-23 11:01 
GeneralRe: Strolling off the edge Pin
240DL6-Apr-23 4:23
240DL6-Apr-23 4:23 
GeneralRe: Strolling off the edge Pin
honey the codewitch6-Apr-23 10:05
mvahoney the codewitch6-Apr-23 10:05 
GeneralRe: Strolling off the edge Pin
englebart7-Apr-23 13:44
professionalenglebart7-Apr-23 13:44 
GeneralPython problems... Pin
glennPattonWork35-Apr-23 0:16
professionalglennPattonWork35-Apr-23 0:16 
GeneralRe: Python problems... PinPopular
OriginalGriff5-Apr-23 0:28
mveOriginalGriff5-Apr-23 0:28 
GeneralRe: Python problems... Pin
Mike Hankey5-Apr-23 0:31
mveMike Hankey5-Apr-23 0:31 
GeneralRe: Python problems... Pin
OriginalGriff5-Apr-23 0:38
mveOriginalGriff5-Apr-23 0:38 
GeneralRe: Python problems... Pin
glennPattonWork35-Apr-23 0:41
professionalglennPattonWork35-Apr-23 0:41 
GeneralRe: Python problems... Pin
Mike Hankey5-Apr-23 0:41
mveMike Hankey5-Apr-23 0:41 
GeneralRe: Python problems... Pin
PIEBALDconsult5-Apr-23 4:13
mvePIEBALDconsult5-Apr-23 4:13 
GeneralRe: Python problems... Pin
Mike Hankey5-Apr-23 4:53
mveMike Hankey5-Apr-23 4:53 
GeneralRe: Python problems... Pin
Kenneth Haugland5-Apr-23 0:55
mvaKenneth Haugland5-Apr-23 0:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.