I want to integrate a command flash downloading tool into uVision2' Tools menu. How can I get the base folder of current project? Which environment variable can I use? I noticed that in page 180 of GS166.pdf, dave.exe' argument is set to $P@P.DAV. Then what's the meaning of $P@P?
"Then what's the meaning of $P@P?" It's all in the Manual - and the online help. Application Note 159 also illustrates this - it's for the Triscend E5, but the principle will be the same for you.
Hi, it is in online help. $P is the PATH variable to application (in your case your flasher) @P is a project file - e.g. with DAvE @P calls DAvE with actual projectname and extension dav expands e.g. ------- $P ------- ------ @P ------ C:\DAvE\dave.exe -Projectname.dav Stefan