| Richard Erlacher 01/21/10 18:30 Read: 134 times Denver, Co USA |
#172657 - What I was after ... Responding to: Louis S's previous message |
I'd hoped you could divorce yourself, momentarily, from the compiler, using ONLY code that was written in ASM, and nothing but the suspect loop. First, I'd have used the ASM generated by the compiler, and then, if the problem persisted, I'd have written the code explicitly to drive this particular situation, with nothing ... meaning exactly that, aside from the code necessary to monitor the situation, and that might be nothing at all, or it might be a monitor that runs on the MCU. I'd absolutely not attempt to use an emulator or other non-MCU features, even JTAG or something else that could potentially interfere. NO HARDWARE UNINVOLVED IN THE PROBLEM SHOULD BE PRESENT ... not even in the room. Put it out in the car, or leave it at home. At least get it off the test bench. Use a logic analyzer and oscilloscope if the monitor doesn't reveal what's going afoul of the expected result.
DO NOT CONNECT A COMPUTER THAT HAS THE COMPILER TOOLKIT ON IT! Better yet, use a terminal rather than a terminal emulator on a computer. RE |
| Topic | Author | Date |
| Simulation vs. Embedded Discrepancy | Louis S | 01/15/10 07:14 |
| Hardware fault? | Andy Neil | 01/15/10 07:39 |
| Responding to: Andy Neil's previous message | Louis S | 01/15/10 07:51 |
| illustration of edge difference? | Erik Malund | 01/15/10 08:00 |
| SPI Phase/Polarity | Louis S | 01/15/10 08:06 |
| address instead of value | Andy Neil | 01/15/10 08:17 |
| Doesn't seem coincidental | Louis S | 01/20/10 13:19 |
| MOVX command fails | Louis S | 01/21/10 09:28 |
| Definitely sounds like a hardware fault! | Andy Neil | 01/21/10 12:01 |
| Have you tried doing this in ASM? | Richard Erlacher | 01/21/10 12:32 |
| The loop in ASM | Louis S | 01/21/10 14:27 |
| I think... | Jez Smith | 01/21/10 15:11 |
| Sounds like hardware again | Andy Neil | 01/21/10 17:34 |
| If this were reduced to the essentials ... | Richard Erlacher | 01/21/10 18:36 |
| Oh Richard | Jez Smith | 01/22/10 01:32 |
| What I was after ... | Richard Erlacher | 01/21/10 18:30 |
| Reducing to Essentials | Louis S | 01/22/10 10:56 |
| RE: Magic Switch On The Compiler | Andy Neil | 01/22/10 12:21 |
| Emulator trace | Louis S | 01/22/10 12:59 |
| Yes | Neil Kurzman | 01/23/10 02:39 |
| SOLVED | Louis S | 01/25/10 11:10 |
| A bit ocnfused | Andy Neil | 01/25/10 11:24 |
| Emulator and AUXR | Louis S | 01/25/10 14:15 |
Things do tend to work best... | Andy Neil | 01/25/10 14:54 |
| one guess with a question | Erik Malund | 01/21/10 13:46 |
| Memory has plenty of gaps | Louis S | 01/21/10 14:29 |
| That doesn't make sense! | Andy Neil | 01/23/10 03:25 |
| Sloppy language on my part | Louis S | 01/23/10 23:00 |
| Am I missing something | Neil Kurzman | 01/21/10 19:06 |
| questions/request | Erik Malund | 01/22/10 06:52 |



