Please read the beginning of this thread, there exactly this is described! 2015-04-10 11:48 GMT+02:00 Fabio Molon <[email protected]>:
> Hi, > where i create this file and how compile this file? Can you give me an > example? > Thanks > > Fabio > > 2015-04-10 8:02 GMT+02:00 Karl Karpfen <[email protected]>: > >> Another i use the following comand : ./hexpru ../bin.cmd >>> <path_directory_my_project/project.out>. This create 2 binary file: >>> text.bin and data.bin. Now, what i do to run my program in AM3359? >>> >>> >> These two files belong to this part of code: >> >> // copy text and data into PRU0 instruction and data RAM >> memcpy((void*)PRU0IRAM_PHYS_BASE,(void*)text_bin,sizeof(text_bin)); >> memcpy((void*)DATARAM0_PHYS_BASE,(void*)data_bin,sizeof(data_bin)); >> >> It is up to you how you load them, you can read them from flash and load >> them into PRU memory or you can convert them into a headerfile containing a >> large char-array which then is copied into PRU instruction/data RAM. >> >> >> -- >> For more options, visit http://beagleboard.org/discuss >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "BeagleBoard" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/beagleboard/rCO-2nKynVE/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to a topic in the > Google Groups "BeagleBoard" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/beagleboard/rCO-2nKynVE/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
