How can I run the audiofilter callback example code without being in debug mode.
I want to make a vocoder so it's important for me that the device is not hooked on a laptop while it's debugging.
I found some info about the Command Line Device programmer but I dont understand how it works and the reason for using it:
"you can only make use of this utility via a Command Prompt window", but thats super vague.
why would I need an extra command prompt to program my microcontroller.
Isnt CCES suppose to do that for me.
Until now, I was STM32 and Eclipse for my project so maby im just in a technical cultrure shock.
I hope someone can tell how I can program with CCES or maby explain how to work with CLDP
- Jan Pieter de Rie
Same question but did not understand the answer
Moving to CrossCore Embedded Studio and Add-ins Community
Hi,CCES contains a Command Line Device Programmer (cldp) utility which is used to flash on a target board.We recommend you to refer the below linked FAQ to program flash:FAQ: How do I program flash on my target board using CrossCore Embedded Studio?ez.analog.com/.../faq-how-do-i-program-flash-on-my-target-board-using-crosscore-embedded-studioFor example you can modify your command as below:cldp -proc ADSP-BF706 -emu kit/1000/2000 -driver "C:\BF706_EZ-Kit_MINI\Blackfin\Examples\Device_programmer\bf706_w25q32bv_dpia.dxe" -cmd prog -erase affected -format hex -file "C:\BF706_EZ-Kit_MINI\Examples\AudioFilter_Callback_BF706Mini\Debug\AudioFilter_Callback_BF706Mini.ldr"Also you can refer the readme.html file in the below path for flashing the ldr file using CLDP for BF-706 processor<installation path>\Analog Devices\ADSP-BF706_EZ-KIT_Mini-Rel1.1.0\BF706_EZ-Kit_MINI\Blackfin\Examples\Device_programmer\readme.htmlTo create a loader file, you can select Loader File under the 'Build Artifact' tab of 'Project' -> 'Properties' -> 'C/C++ Build' -> 'Settings'. From this tab select 'Loader File' as the Artifact Type:'. Note, the 'Artifact extension:' should change to ldr.Further details on specifying a loader file as the project's output file can be found in CCES Help at the following location:'CrossCore Embedded Studio' -> 'Integrated Development Environment' -> 'Working with Bootable and Non-bootable Files' -> 'Creating Bootable Files'You can also get more details about CLDP in the below CCES help paths.CrossCore® Embedded Studio x.x.x > Integrated Development Environment > Working with Bootable and Non-bootable Files > Device Programmer > About the Device ProgrammerCrossCore® Embedded Studio x.x.x > Integrated Development Environment > Working with Bootable and Non-bootable Files > Device Programmer > Device Programmer Command Line > Device Programmer Command-Line SwitchesDevice Programmer for Ez-kits for flash programming available in the BSP package.The flash drivers we ship with our tools are specific to our EZ-Kit boards. For example, the "bf706_w25q32bv_dpia.dxe" driver is specific to the ADSP-BF706 EZKIT.If you are working with a different flash part, we would recommend that you to use one of our current drivers(bf706_w25q32bv_dpia) as a base for creating a driver which will be compatible with your flash part.We provide documentation for the Device Programmer API, which describes the commands the Flash Programmer Drivers require to perform the Flash accesses.Following the API, it's relatively simple to port an existing Flash Programmer Driver to match your specific flash part. This documentation is available at help > CrossCore® Embedded Studio 2.x.x > Integrated Development Environment > Working with Bootable and Non-bootable Files > Device Programmer > Custom Device DriversWe are aware of many customers who have successfully modified our flash drivers to suit different flash parts.Regards,Nishanthi.V
So I found the cldp.exe but it shuts itself down immediately.
I've also read the read me of the Device programmer so its a bit more clear to me.
As I understand it now: You set the build setting to load file and every time you want to load this on the EZ-KIT you need to do this with cldp and this line:
cldp -proc ADSP-BF706 -emu kit/1000/2000 -driver "C:\BF706_EZ-Kit_MINI\Blackfin\Examples\Device_programmer\bf706_w25q32bv_dpia.dxe" -cmd prog -erase affected -format hex -file "C:\BF706_EZ-Kit_MINI\Examples\AudioFilter_Callback_BF706Mini\Debug\AudioFilter_Callback_BF706Mini.ldr"
And the cldp.exe will upload this on your device and now it should be stand-alone.
Please correct me if I am wrong.
Hi,Yes, your understanding is correct.Also, CLDP shuts off due to, you cannot simply open the cldp utility. Instead you have to use the command prompt.You can refer CLDP in the below CCES help paths.CrossCore® Embedded Studio x.x.x > Integrated Development Environment > Working with Bootable and Non-bootable Files > Device Programmer > Device Programmer Command Line > Device Programmer Command-Line SwitchesRegards,Nishanthi.V
I finally programmed the board, I tore off one of the audio plugs from the pcb so it took me somewhat longer to but i was able to make the board stand alone.
Thanks for all the support I really appreciate it!
Jan Pieter de Rie