??? 06/14/13 08:49 Read: times |
#189935 - FPGA on-chip debugging redundant? Responding to: ???'s previous message |
That's a very strong objection. A debugger won't be much help unless it somehow encompasses at least some of the actual logic of the FPGA that the MCU is controlling... a project like this may easily spiral out of control by attempting to make it flexible enough to debug off-CPU logic, or if it doesn't it may just be nearly useless as you say.
Besides, if your FPGA is going to include some kind of 'ChipScope' core (a sort of on-FPGA logic analyzer), in principle you could use it to monitor the state of the MCU to a limited extent (e.g. by tracing the PC register) which would make a debugger much less necessary. I wonder what do people do in cases like this... I think I will just modify the core to add some ISP capability; that alone will make working with it much easier. I will leave debugging alone until I find out how other FPGA CPU cores do it :) Anyway, I think on-chip debugging is of limited value in a real time embedded project of any complexity; often it's just easier to use a bunch of GPIO pins and a 'scope, or a serial port. |
Topic | Author | Date |
OCD for FPGA core | 01/01/70 00:00 | |
Serial-to-EC2 reverse engineering | 01/01/70 00:00 | |
C2spec.pdf | 01/01/70 00:00 | |
Reality Check...... | 01/01/70 00:00 | |
Agreed | 01/01/70 00:00 | |
multi-threaded | 01/01/70 00:00 | |
FPGA and soft cores | 01/01/70 00:00 | |
Yes ... but which debugger? | 01/01/70 00:00 | |
Actually no | 01/01/70 00:00 | |
Who's "they" | 01/01/70 00:00 | |
I wouldn't use FPGA unless I need more than just the core | 01/01/70 00:00 | |
FPGA on-chip debugging redundant? | 01/01/70 00:00 | |
debugging embedded processors | 01/01/70 00:00 | |
That's good to know. | 01/01/70 00:00 | |
nice idea | 01/01/70 00:00 | |
Von Neumann first | 01/01/70 00:00 | |
if that were the case ... | 01/01/70 00:00 | |
Poorly chosen acronym... | 01/01/70 00:00 | |
On Chip Debug is common | 01/01/70 00:00 | |
On Chip Debug *is* a very good idea indeed! | 01/01/70 00:00 | |
PC | 01/01/70 00:00 | |
PC | 01/01/70 00:00 | |
PC | 01/01/70 00:00 |