The words "BDM" and "monitor" are to be found in the MQX source code. Maybe some of them might support your requirements? How much life is left in the model of MCF chip you're using? Many of them are approaching or have passed EOL, and there are a lot at "not recommended for new designs". The other possibility is to choose the manufacture, processor chip and operating system based on the debug support provided by that chip maker or OS provider. Are you using MQX? Does it have any debugging support that might help you? If it is an MCF54 then running Linux native on it, and debugging "user programs" on it over Telnet or SSH might be possible. You didn't say which model Coldfire chip or what OS you're running. Compile under Linux with command-line/Makefile GCC, edit with VI or with MS Visual Studio on a Windows VM. And that's with command-line GDB when it does work. The USB debug pod doesn't like our watchdog setup so we can't even get reliable single-stepping. We're running a "bare metal polling loop OS" and debugging with print statements or blinking LEDs. However: a.) We're stepping outside Codewarrior: Less integrated, more development environments and b.) Without actually having it implemented, we're not sure how well GDB deals with the proprietary Codewarrior Compiler's ELF files.ĭo you have more information on any of the routes, experiences with these approaches or other, workable ideas?Įclipse/GCC/GDB might be possible, but you'd have to ditch CodeWarrior. This route is improbable, but maybe less so.Ĥ. App TRK is still supported by Codewarrior, but nominally only for applications running on Linux. The MetroTRK (of Metrowerks fame) protocol is no longer supported. We have not been able to obtain information on the GDI (Generic Debug Instrument, of Metrowerks fame) interface, so this route seems improbable.ģ. We have not been able to obtain information on the CCS protocol, so this route seems improbable.Ģ. To elaborate this a bit, we are currently thiking about a number of ways to achieve debugging access without BDM:ġ. What interface would I use to accomplish this? I know that this was possible with older (Metrowerks) CodeWarrior versions. Now I am looking for a way to integrate the ROM Monitor into CodeWarrior as a new connection type. On the Coldfire, we are running a ROM Monitor and we can speak with the ROM Monitor over a network interface. However, I would still like to be able to use the CodeWarrior debugger functionality. USB TAP for debugging, as I often have no physical access to the system with the ColdFire processor. During development, I cannot rely on e.g. I am developing software for Coldfire Processors with CodeWarrior 10.3 and 10.5. When the time comes, you can ditch you windows, and recompile your app under any open platform.(Disclaimer: I have already asked this in the CodeWarrior section, but have been asked to carry my question over to this space. Then you can choose either cygwin or mingw - and build your app on top of this. If you're stuck to Windows, I suggest that that your app with cross-platform framework, e.g. Mingw can be either be native windows or cross-hosted (meaning, you can install mingw on windows to compile and build windows programs, or you can install mingw on linux box to compile and build windows programs).Īs jemimah said, Visual Studio Express is also free these days, though yeah you do that and your program will forever be tied to Windows. The upside - there is no extra dll to distribute. Your app will have to use Win32 API, and you still need to include most of the time. It basically contains gnu build tools (gcc and friends) to compile your stuff for native windows execution. Mingw is just that - "minimalist gnu for windows". But the downside is that you need to distribute your app with cygwin.dll (the posix emulation layer), otherwise it won't work. You can compile most of the unix/linux stuff with it with minimal changes, as it supports posix/unix/linux API.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |