Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 1539 matches
www.mcselec.com Forum Index
Author Message
  Topic: Binary file compiled with older version Bascom (quite old ac
i.dobson

Replies: 5
Views: 113

PostForum: BASCOM-AVR   Posted: Sat Oct 19, 2019 8:54 pm   Subject: Binary file compiled with older version Bascom (quite old ac
Hi,

What do mean with " doesn't seem to run properly"?

If the code that you write verifies than it's exactly the same code. The only Thing could be a small Change to the Hardware or maybe the fu ...
  Topic: barre code reader et FT232rl how to use ?
i.dobson

Replies: 5
Views: 116

PostForum: BASCOM-AVR   Posted: Thu Oct 17, 2019 6:41 pm   Subject: barre code reader et FT232rl how to use ?
Hi JP,

I don't think that'll work. Your Barcode Reader is a USB slave device that Needs to connect to a USB Host (In you test your PC). The FT232rl is also a USB slave.

If you really want to do ...
  Topic: Bascom ADXL345 via IC -no response by device
i.dobson

Replies: 2
Views: 157

PostForum: BASCOM-AVR   Posted: Fri Sep 27, 2019 7:47 pm   Subject: Bascom ADXL345 via IC -no response by device
Hi,

I've had a quick look at your code and I can't see where you configure and initalise the i2c bus.

You Need to include something like this to Setup the i2c bus before you use it:


Config ...
  Topic: SD card hardware SPI problems
i.dobson

Replies: 13
Views: 314

PostForum: AVR-DOS   Posted: Wed Aug 14, 2019 9:42 pm   Subject: SD card hardware SPI problems
Hi,

Glad to be of Service.

I've seen afew other things in you Software that I'm not sure if they'll work the way you think, I'll look at the code again when I've had a sleep.

Regards
Ian Dob ...
  Topic: SD card hardware SPI problems
i.dobson

Replies: 13
Views: 314

PostForum: AVR-DOS   Posted: Wed Aug 14, 2019 9:25 pm   Subject: SD card hardware SPI problems
Hi,

Looking in you code your defining a constant "YES" and YES is also used in the CONFIG SPI command.

Deleting the Definition from "M1010-101 Constants.bas" the code compiles.

Regards
Ian D ...
  Topic: Destroy memory
i.dobson

Replies: 7
Views: 302

PostForum: BASCOM-AVR   Posted: Sun Aug 11, 2019 7:14 am   Subject: Destroy memory
Hi,

Why not just have a look at the bootloader code, there's an example of writing to Flash.

Regards
Ian Dobson
  Topic: BASCOM-AVR 2082
i.dobson

Replies: 9
Views: 724

PostForum: BASCOM-AVR   Posted: Mon Aug 05, 2019 7:26 pm   Subject: BASCOM-AVR 2082
Thank, very nice.

I've just recompiled one of my old programs (written for 2.0.7.4) and it worked first time without any modifications.

The only Problem I've found is when I try and open the his ...
  Topic: AVR Dos with a SDHC card in HW SPI mode on a atmega1284p
i.dobson

Replies: 15
Views: 2051

PostForum: AVR-DOS   Posted: Tue Jun 11, 2019 6:38 pm   Subject: AVR Dos with a SDHC card in HW SPI mode on a atmega1284p
Hi JP,

I'll have a look when I get back home, which should be next Weekend. This Project is 7 years old so I'm not sure if I still have the code (I never finished to project).

Regards
Ian Dobso ...
  Topic: error dateline
i.dobson

Replies: 2
Views: 103

PostForum: AVR-DOS   Posted: Sat Jun 08, 2019 11:41 am   Subject: error dateline
Hi,

Have a look in the help text for config clock:

When you choose the USER option, only the internal variables are created (like _sec , _min , _hour....).

With the USER option you need to w ...
  Topic: OTA with Bascom
i.dobson

Replies: 14
Views: 758

PostForum: BASCOM-AVR   Posted: Tue May 14, 2019 7:26 am   Subject: OTA with Bascom
Hi All,

OTA is possible with an AVR, even with very limited space.

In a project I worked on several years ago (2013) we used a Zigbee radio for communication and I decided to write a bootloader ...
  Topic: ATMEGA with FT232... and USB-BT-dongle
i.dobson

Replies: 5
Views: 227

PostForum: BASCOM-AVR   Posted: Thu Mar 28, 2019 1:49 pm   Subject: ATMEGA with FT232... and USB-BT-dongle
Hi,

As laborratte said, that won't work.

Every USB connection consists of a Host and a Slave. The PC is an USB host and the BT adapter is a USB slave, The FT232 is also a USB Slave (PC to FT232 ...
  Topic: Converting a Single to Integer
i.dobson

Replies: 6
Views: 271

PostForum: BASCOM-AVR   Posted: Wed Feb 20, 2019 2:18 pm   Subject: Converting a Single to Integer
Hi,

Have a look at FUSING

Syntax

target = FUSING(source, "mask")


FUSING returns a formatted string of a single value

Regards
Ian Dobson
  Topic: Structure Type ... End Type
i.dobson

Replies: 24
Views: 1101

PostForum: Various   Posted: Sun Jan 20, 2019 6:21 pm   Subject: Structure Type ... End Type
I don't even know how I can support this, because I don't know where I can transfer money.
It's funny when you buy a product and this product is always maintained for free.
I think if there was a ...
  Topic: Receiving zero(0) bytes
i.dobson

Replies: 6
Views: 290

PostForum: BASCOM-AVR   Posted: Mon Jan 14, 2019 4:18 pm   Subject: Receiving zero(0) bytes
Hi,

Maybe a Do Loop while ISCHARWAITING. Something like:-


While Ischarwaiting(#2) = 1 'loop through data
Rfid_char = Inkey(#2) ...
  Topic: MCS Bootloader "injector"/uploader
i.dobson

Replies: 4
Views: 261

PostForum: BASCOM-AVR   Posted: Wed Dec 05, 2018 4:19 pm   Subject: MCS Bootloader "injector"/uploader
Hi,

I'm not sure if this is what you're looking for but it might do the job:
https://www.olimex.com/Products/AVR/Programmers/AVR-ISP500-TINY/

It's a standalone AVR ISP programmer:-
1) You atta ...
 
Page 1 of 103 Goto page 1, 2, 3 ... 101, 102, 103  Next
All times are GMT + 1 Hour
Jump to: