bren 0 Posted May 3, 2012 Report Share Posted May 3, 2012 Hi, I'm having simliar troubles as this post -> http://forum.sourceb...?showtopic=5030 However my device is the 12F683 and it seems the eeprom functions are unresolved. The fix mentioned, a lot of searching and a bit of hacking with the eeprom.h file did not resolve the issue. The source compiles fine - the linking fails and no hex is generated. #pragma DATA _EEPROM, 6 // this works fine val = eeprom_read(0x00); // this causes the error shown below Linking... "C:\Program Files\SourceBoost\boostlink_pic.exe" -idx 1 /ld "C:\Program Files\SourceBoost\lib" libc.pic16.lib Release\SourceBoost_104_comp-latched-timer1_video_detect_temp.obj /t PIC12F683 /d "Release" /p firsttry BoostLink Optimizing Linker Version 7.05 http://www.sourceboost.com Copyright(C) 2004-2011 Pavel Baranov Copyright(C) 2004-2011 David Hobday failure Error: Unresolved external function:'eeprom_read(unsigned char)' Error: Unresolved external function:'eeprom_read(unsigned char)' Error: Unresolved external function:'eeprom_read(unsigned char)' Error: Unresolved external symbol, function:eeprom_read Failed to locate output file 'Release\firsttry.hex' Done Failed input and suggestions most welcome Quote Link to post Share on other sites
Pavel 0 Posted May 4, 2012 Report Share Posted May 4, 2012 Have you added eeprom library to the project? Regards, Pavel Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.