Jump to content

babos

EstablishedMember
  • Content Count

    36
  • Joined

  • Last visited

Community Reputation

0 Neutral

About babos

  • Rank
    Regular
  • Birthday 05/13/1960

Profile Information

  • Gender
    Male
  • Location
    Italy
  1. I've already try to complie the same project in SourceBoost IDE but remain the same error.(not in laptop but in the desktop computer where I've copy the project) Tomorrow I can try the second step. Cheer. Babos
  2. I had try to compile the same project in Sourceboost IDE & MPlab ver.8.50/8.53/8.56 and this is the error in the same case: BoostC++ Optimizing C++ Compiler Version 6.97 (for PIC18 architecture)http://www.sourceboost.comCopyright© 2004-2010 Pavel BaranovCopyright© 2004-2010 David HobdayLicensed to Massimo Romano under Single user Pro License for 1 node(s)Limitations: PIC18 max code size:Unlimited, max RAM banks:Unlimitedmcu.cStarting preprocessor: "C:\Program Files\SourceBoost\pp.exe" "E:\PRETTY FW MCU\mcu.c" -i "C:\Program Files\SourceBoost\include" -d _PIC18F8722 -la -c2 -o "E:\PRETT
  3. I've 6.96 C++ compiler version. Isn't the Last ? Where is version 7? regards. Babos
  4. Hello, I've this problem. i should make an array of integer of 1600 int as "static unsigned int buffer_sample[1600].having 3600 bytes of free RAM RAM available:3936 bytes, used:335 bytes (8.6%), free:3601 bytes (91.4%), Heap size:3601 bytes, Heap max single alloc:127 bytesROM available:131072 bytes, used:4688 bytes (3.6%), free:126384 bytes (96.4%) This message appear when I implement the array into the code with suggested "-idx 2" switch : warning: unrecognized command line agrument '-idx', skippedsrtos.c Starting preprocessor: "C:\Program Files\SourceBoost\pp.exe" E:\G26CPP\G26
  5. thank's Ian, very useful to know. Babos
  6. Good mornig everyone. Is a way to calculate how much availability Sys_Yiels / Sys_Sleep I have, Before compiler message "Can't fit Avoid boundary code in function .... "? thanks. Babos
  7. Possibly. However I will have to write it all from a blank sheet to a finished, built and tested program if I am to be certain it works. I am not charging for my time (nor would I want to) so the example project must interest, entertain and educate me or I will not do it. I am away for a few days and if I can think of an idea I like that needs this level of complexity, I will start work on it, but no promises. To modify your code you have shown us to make an example would be non trivial and I would not be able to run it without either the rest of the project and its hardware or a softwa
  8. In which case it would be unwise to discuss it in more detail or show any more of it to anyone unless you have them under contract with a signed non-disclosure agreement. Before you do that, you would of course need to see that they had done a realtime project of a similar size to your own. I am just a hobby user and am NOT the right person if you need someone under contract. You might be able to tell us how many lines of code you have, the number of Sys_xxxxx functions your code has in total, and maybe show us the call tree annotated with the number of bytes of variables and yield point
  9. The biggest problem is that I can not speak well's English.I try to explain: * equipment has more groups: washing, serum application, drying, treatment tank, ecc. * The motors are used to move on accessories for various groups' analysis. * From computer via USB port sending the parameters that I need for a specific method * Send also (every 500ms) a request to state that allows me to display temperature, time in progression, etc. * Together with the parameters of methods, including sending the sequences of movements of the motors. * equipment is started and I could also disconnect
  10. The problem remain. when I have few Sys_Sleep to wait an event as // motor move motor_move(_X,position,velocity); // wait end of movement for motor X while(!x_busy)Sys_Sleep(1); During this wait, the processor send his status to serial port, fill the treatment tank, decrement any elapsed time for process. I can't block these flows All work fine but not is possible increment Sys_Sleep infinity and, in my program, there are many calls to the motors. we need an alternative to handle this problem, use other tasks, use semaphores or some other devilish otherwise be forced to return to sup
  11. Yes you mentioned you had it working in Basic as a superloop. *HOW* does the PIC report to the computer? It *may* be possible to put the reporting in an interrupt routine and avoid the need for NOVO at all! What's the interface and the message format? pic transmint a status of 64 byte @115200b/s any 250/500ms
  12. in fact I can avoid Sys_Sleep engines, waiting to do their movements and with a simple "while (! motor_busy);" but the computer requires the machine status every 500ms;during which I was lacking.
×
×
  • Create New...