Topic : Post Link Tool usage

Forum : Ride IDE

Original Post
Post Information Post
January 8, 2016 - 11:29pm
Don Marquardt

I am trying to use a sequence of commands to add a checksum to my hex file so that when the program starts, I can calculate a checksum to be sure that the flash is not corrupt. The sequence of commands is:

ren obj\Main_Crypto_32.hex obj\M.hex

CheckSumHex obj\M.hex obj\M_CS.hex 0x08000000 0x10000 0x0800fffc 00 1

CatHex obj\M.Hex obj\M_CS.hex obj\MainCrypto_32.hex

I have tried creating a bat file with these commands and entering the full path to the bat file in the post link tool box and also entering all the commands into the same box. Neither has succeeded.

Please send me some guidance.

Thanks

Replies
Post Information Post
+1
0
-1
January 19, 2016 - 3:13pm
Etienne Cassin

Dear Don,

Thank you for reporting the problem.

Does it work when you execute the commands one by one from the command line?
When and how does it fail? could you provide the error message? Does some output file are missing? does appear some wrong data?

Could you provide us the version of software?

Thanks

Regards,

+1
0
-1
January 19, 2016 - 5:25pm
Don Marquardt

I am using Ride7 Version 7.60.15.0327 and RKit-ARM for Ride7 Version 1.62.15.0334.

Yes, the commands work when I execute them one by one from the command line. Here is the error messageĀ 


Building C:\Users\TnD\Viscount\Main_Crypto_32\Main_Crypto_32.rapp
Unknown tool: C:\Users\TnD\Viscount\Main_Crypto_32\CreateCS.bat

+1
0
-1
February 1, 2016 - 4:14pm
Etienne Cassin

In order to execute these command line, you should configure them as plugins (please have a look of "Ride7 plugins" in the Ride7 helps -> working with ride IDE.

When your plugin is set you should call it using the post link tools: Local setting -> LD Linker -> More -> Post Link Tool -> choose your plugin

This option is only allowed in enterprise version.

I hope it helps.

Best regards,