Jump to content

TFcroft4

EstablishedMember
  • Content Count

    36
  • Joined

  • Last visited

Community Reputation

0 Neutral

About TFcroft4

  • Rank
    Regular
  1. Thanks for the replies. I noted this text in the rs232_driver.h which specifically says software emulation. I am confused Ted //////////////////////////////////////////////////////////////////////////// // Serial Communications Library //////////////////////////////////////////////////////////////////////////// // Author(s): Andrew Smallridge // Date 15 November 2004 // // Copyright© 2004-2006 Andrew Smallridge // Copyright© 2004-2010 Pavel Baranov // Copyright© 2004-2010 David Hobday // Existing constants predefined for serial hardware driver and software // emulation for the
  2. I would like to use 2 serial ports on a 16f877a. One would be receiving data from a GPS module at 9600 and I think would be better using the built in uart. The second is output only at 2400, sending a data packet of about 30 characters one a second Is this feasible and if so how would I set this up using the ScourceBoost UART template. Thanks
  3. OK - thanks. Using the Wizard helped although still not sure how I lost the 'connection' in the first place. Hey ho! Ted
  4. Are you building a custom version of the library or linking in a supplied version? Ether way this error means that linked can't find this function. Regards Dave I am using a supplied version - novolib_pic16t3e5ts1.lib - which is in c:\Program Files\SourceBoost\Lib I have solved this problem by using the Wizard to build a basic project and then imported my source code. I don't understand how the link to the library was lost though.
  5. Are you building a custom version of the library or linking in a supplied version? Ether way this error means that linked can't find this function. Regards Dave I am using a supplied version - novolib_pic16t3e5ts1.lib - which is in c:\Program Files\SourceBoost\Lib
  6. I have copied ( and possibly corrupted) a Novo project and am getting the following linker error. I think I have misplaced something! Any guidance would be welcomed. Thank Ted Error: Unresolved external function:'SysiWaitSemaphore(unsigned char,unsigned short)' Error: Unresolved external symbol, function:SysiWaitSemaphore Error: Unresolved external function:'SysiWaitSemaphore(unsigned char,unsigned short)' Error: Unresolved external symbol, function:SysiWaitSemaphore
  7. try this: I call this state based routine to parse the incoming NMEA characters for the RMC sentence once I know my GPS is up and running to get the time data I use the PPS as an interrupt to signal this, I then use the PPS to get accurate timing. This code can be adapted for other NMEA sentences. I also use an interrupt driven buffered serial routine - serHasData() checks to see if there is anything in the buffer. Note that the GPS will only give valid time when it has a fix. the A in field 2 indicates a valid time. char parse_RMC( char * buf){ //* Input $GPRMC,193418.00,A
  8. Will this help? On the WIKI The Perfect Second There is a link to the Roman Black timing algorithm "www.RomanBlack.com Zero-error 1 second Timer A very versatile Zero Cumulative Error timing system with PIC source code Roman Black - orig June 2001 - update Aug 2006 - update 21 Nov 2009. What is it? Bresenham's Algorithm is a system where 2 imperfect periods can be alternated to produce an average that matches any "perfect" period. With most modern micros the easiest time period to generate is an overflow of the internal timer, generally 256 ticks or 65536 (256
  9. I recently had to re insatall windows XP and hence all my applications. For SourceBoost once I had re instaled and also run the Registration programme I could not re build my project it was as though the registration had not worked. However by re-compiling all sources then re building all was fine. So the solution was re install, re register, re compile and then re build. Hope this helps. TF
  10. A little time down the line - here is an update. The clocks ( 5 units ) run using NOVO RTOS with three tasks: Task1 - Called every second roll over - semaphore is set by an interrupt on Port B when GPS unit sends the PPS pulse, this resets a millisecond count and calculates the new values for the various time displays and also updates the LED displays. (If for any reason the GPS interrupt does not work then the TMR interrupt is used to set the semaphore when milliseconds reach 1000.) Task 2 - Called every 15 ms - Key board and LCD screen handler - polls the keypad every
  11. If you are using V6.92 then this was indeed a problem that was introduced. This issue is resolved in V6.93. Regards Dave Thanks for the update - every little helps TF
  12. I have used this function and a similar one to swap bytes in a short - thanks.
  13. This sounds like one that we would need a complete project that demonstrates the issue in order to find it.If you can please send the complete project to support@sourceboost.com. Regards Dave OK Thanks zip file on its way Ted
  14. Building... BoostC Optimizing C Compiler Version 6.92 (for PIC16 architecture) http://www.sourceboost.com Copyright(C) 2004-2009 Pavel Baranov Copyright(C) 2004-2009 David Hobday Licensed to Edward Finch under Single user Full License for 1 node(s) Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited, Non commercial use only TFNovoClock0-1.c C:\Documents and Settings\Ted\My Documents\PIC\working\Mynovo\TFNovoClock0-1.c(382): WARNING: BIT4LO code included C:\Documents and Settings\Ted\My Documents\PIC\working\Mynovo\TFNovoClock0-1.c(407): WARNING: BIT4HI code included C:
  15. Building... BoostC Optimizing C Compiler Version 6.92 (for PIC16 architecture) http://www.sourceboost.com Copyright(C) 2004-2009 Pavel Baranov Copyright(C) 2004-2009 David Hobday Licensed to Edward Finch under Single user Full License for 1 node(s) Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited, Non commercial use only TFNovoClock0-1.c C:\Documents and Settings\Ted\My Documents\PIC\working\Mynovo\TFNovoClock0-1.c(382): WARNING: BIT4LO code included C:\Documents and Settings\Ted\My Documents\PIC\working\Mynovo\TFNovoClock0-1.c(407): WARNING: BIT4HI code included C:
×
×
  • Create New...