Atlantis-Specialist-Technologies / AST_RS485_Arduino_Library

A library for using the RS485 port on the CAN485 board
GNU General Public License v3.0
3 stars 6 forks source link

WARNING: Category 'Communications' in library AST_CAN is not valid. Setting to 'Uncategorized' #5

Open antimodular opened 5 years ago

antimodular commented 5 years ago

Hi I am on macOS 10.12 with Arduino 1.8.5

I followed the sparkfun guide to install all 3 libraries and add the board to the IDE.

But when i compile the example code i get this error message:

WARNING: Category 'Communications' in library AST_CAN is not valid. Setting to 'Uncategorized'
WARNING: Category 'Communications' in library AST_RS485 is not valid. Setting to 'Uncategorized'
Sketch uses 2266 bytes (1%) of program storage space. Maximum is 130048 bytes.
Global variables use 341 bytes (8%) of dynamic memory, leaving 3755 bytes for local variables. Maximum is 4096 bytes.

Do you know what i am doing wrong?

thanks

antimodular commented 5 years ago

and when i try to upload the code it says:

WARNING: Category 'Communications' in library AST_CAN is not valid. Setting to 'Uncategorized' WARNING: Category 'Communications' in library AST_RS485 is not valid. Setting to 'Uncategorized' Sketch uses 2266 bytes (1%) of program storage space. Maximum is 130048 bytes. Global variables use 341 bytes (8%) of dynamic memory, leaving 3755 bytes for local variables. Maximum is 4096 bytes. avrdude: verification error, first mismatch at byte 0x0000 0x14 != 0x0c avrdude: verification error; content mismatch avrdude: verification error; content mismatch

screen shot 2018-11-08 at 2 28 43 pm
per1234 commented 5 years ago

But when i compile the example code i get this error message:

As should be obvious, those are warnings, not error messages. It is fixed by https://github.com/Atlantis-Specialist-Technologies/AST_RS485_Arduino_Library/pull/4. You can safely ignore these warnings because they won't cause you any problems.

avrdude: verification error, first mismatch at byte 0x0000 0x14 != 0x0c avrdude: verification error; content mismatch avrdude: verification error; content mismatch

This error has nothing to do with the library. It's a problem with your hardware.

antimodular commented 5 years ago

thanks for the quick reply. i will try a different board and hope it will work. ftdi, usb cable and computer have been used on other micro controllers successfully. So it must be the CAN485 board.