I know that at MEDC I saw someone go through the following procedure:

Download an image to a target start debugging.
Find a bug, exit the target application / driver.
Make a change to the code and rebuild just the modified app/driver.
Launch the application but PB re-downloaded it so that it was the newly
modified one!

It's the last step that I need help with. How do I do that? I want to
do it with a driver that is in my platform directory. I know how to
rebuild just that one driver. When I exit my application the driver is
removed (or I can unload it) but how do I get PB to download the
updated driver vs just run the one on the target filesystem?

Thanks in advance

Re: How to re-download just driver / app by Henrik

Henrik
Wed Jan 04 12:02:00 CST 2006

Add the module you want to debug in "Release Directory Modules..."
under "Platform". This will cause the debug build of the kernel to load
the module from the "Release" directory. You also might want to take a
look at Steve Maillet's and my previous posts on how to avoid sysgen a
couple of days ago.

Henrik Viklund


Re: How to re-download just driver / app by gerrit

gerrit
Wed Jan 04 17:55:44 CST 2006

Thanks Henrik, On PB 5.0 it is under Target->Release Directory
Modeules...

Do I need to do something special to run the application after making a
mod? I right click the app in the File View and click "Build Current
Project" then use the run dialog on the target to launch the
application again but PB does not appear to download and the source
does not match the binary (breakpoints where there is comments etc)

What am I missing?


Re: How to re-download just driver / app by Henrik

Henrik
Thu Jan 05 07:32:59 CST 2006

Setup the release directory modules before you download the image.

Henrik Viklund