INTL 3:770/1 3:770/3   
   REPLYADDR theom+news@chiark.greenend.org.uk   
   REPLYTO 3:770/3.0 UUCP   
   MSGID: f960ce3c   
   REPLY: 4fb1246b   
   PID: SoupGate-Win32 v1.05   
   The Natural Philosopher wrote:   
   > As you can see from my last reply that is roughly where I am headed. Or   
   > similar. Lacking full ICE., its all a bit 'poke the black box with   
   > different sized sticks, and try and infer from what it does, what is   
   > happening inside it'   
      
   One of the challenges with embedded debugging is that printf can be a very   
   slow thing, because it's spitting out characters on a slow UART. Adding   
   printfs can thus screw up timing.   
      
   Other techniques include writing things to memory you pick up later (don't   
   forget that string handling and especially sprintf formatting can be slow)   
   and wiggling GPIOs (eg output a different number in each stage of the   
   program).   
      
   sigrok is logic analyser software that works with cheap (<$10) capture   
   hardware - seems it can now use a Pi Pico for that as well.   
      
   Theo   
      
   --- SoupGate-Win32 v1.05   
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)   
   SEEN-BY: 10/0 1 15/0 90/1 103/705 105/81 106/201 128/260 129/305 135/225   
   SEEN-BY: 153/757 7715 218/0 1 601 700 840 870 930 220/70 221/1 6 226/17   
   SEEN-BY: 226/30 100 227/114 229/110 111 112 113 200 206 307 317 400   
   SEEN-BY: 229/426 428 470 550 616 664 700 240/1120 266/512 267/800   
   SEEN-BY: 282/1038 291/111 292/854 301/1 113 812 310/31 320/219 322/757   
   SEEN-BY: 335/364 341/66 342/200 396/45 460/58 633/280 712/848 770/1   
   SEEN-BY: 770/3 100 330 340 772/210 220 230 5020/400 1042 5058/104   
   SEEN-BY: 5075/35   
   PATH: 770/3 1 218/840 221/6 301/1 218/700 229/426   
      
|