Jump to content
Sign in to follow this  
bren

Linker Trouble - 12F683 - Unresolved External Function:'eeprom_Read(Unsigned Char)'

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...