We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, As we know the Keil C can generate the .SRC file for each .C file in a project, but without combining them. I need to combine all the .SRC files into one, just like what we saw in the "Deassembly" window while we are executing debugging. Anyone can help on this?
Thanks!!
John
We also want to know the original C and ASM code that causes this problem.
Your belief that the .src files are a suitable starting point to reach that goal is a classic case of jumping to conclusions. What you're searching for are absolute-address list files made by the linker. Compiler output can't help you because the compiler has no control over where in the final program the pieces of an individual source code module go. The linker controls that. And if you had spent some time investigating the capabilities of your tools before jumping to your conclusion, you would have found out how get the linker to get you the kind of listing you want.
But that's all beside the point, because what you really need is a way to connect a debugger to the 8051 core inside your FPGA. Any other approach is a huge waste of time that could only possibly be justified if you're absolutely certain that a debugger can't be made to work.