Quantcast
Channel: MCS Electronics Forum
Browsing all 20606 articles
Browse latest View live
↧

BASCOM-AVR : strange biniary output : REPLY

[quote:d0c1447123="albertsm"] logic tells me that this is a hardware problem.[/quote:d0c1447123] maybe it is hardware however after changing the display order from: Do Cls Locate 1 , 1 : Lcd "IC " ;...

View Article


BASCOM-AVR : strange biniary output : REPLY

:) ----surprise, surprise------ :) I changed my (inner) code to: _____________________________________ Do Cls Locate 1 , 1 : Lcd "pw " ; Bin(pwm1a) Locate 2 , 1 : Lcd "pw " ; Bin(pwm1a) Locate 3 , 1 :...

View Article


BASCOM-AVR : strange biniary output : REPLY

sda/scl : you use portC pins which have an alternative function. you always need to check the function and see if the port pins behave the same. in your case : portc.4 and portc.5 are used. try...

View Article

BASCOM-AVR : Bootloader suddenly stopped working? : REPLY

Here is the proposed update: 1) selecting DTR for reset does the job, the s/w on the chip is clearly stopped and a reset is done 2) with the scope I can clearly see a) the reset signal and b) the...

View Article

BASCOM-AVR : strange biniary output : REPLY

it seems our post crossed. you can still try the samples. i see no reason for the fact that the first conversion would be wrong, you can also reduce the code so it still demonstrates the problem. your...

View Article


BASCOM-AVR : strange biniary output : REPLY

[quote:6e4298e463="albertsm"]sda/scl : you use portC pins which have an alternative function. you always need to check the function and see if the port pins behave the same. in your case : portc.4 and...

View Article

BASCOM-AVR : strange biniary output : REPLY

[quote:fd75ec55c3]Mark, without changing any pin/port definition or hw-wireing the decimal formatted output is correct while hex and bin failes.[/quote:fd75ec55c3] yes but you need to be aware that i...

View Article

BASCOM-AVR : Bootloader suddenly stopped working? : REPLY

and i assume you use the proper baud rate? you can connect an isp programmer. i did so once by inserting cables at the proper locations. the question is : is the ftdi chip defect or the chip. i would...

View Article


BASCOM-AVR : strange biniary output : REPLY

[quote:463105a50e="albertsm"] please upload a zip that contains the bas, rpt, bin , hex and cfg files.[/quote:463105a50e] pls find it in the attachment [quote:463105a50e="albertsm"] i also wondered if...

View Article


BASCOM-AVR : strange biniary output : REPLY

the zip contains images but it is unclear which one is from which test. you have made a number of tests but you did not once produced code i asked for. in your original posted program you had : Locate...

View Article

BASCOM-AVR : strange biniary output : REPLY

[quote:34fbde12f1="albertsm"]the zip contains images but it is unclear which one is from which test.[/quote:34fbde12f1] Sorry, I thoght the images speak for them selfe. Have a look at the named images...

View Article

BASCOM-AVR : strange biniary output : REPLY

Tomi made a simulation in ISIS. it is nice that it demonstrates the same behavior. I can recommend ISIS Proteus from Labview highly. It simulates the hardware very accurate. When i removed the setting...

View Article

BASCOM-AVR : Bootloader suddenly stopped working? : REPLY

19200 baud rate, checked I am rather sure the FTDI chip is OK, because I could communicate and read it using the MProg tool also it sends data to the micro and it provides the reset signal Yes, there...

View Article


BASCOM-AVR Old versions : a strange problem about Atn function : NEWTOPIC

I need antitangent function in my project, so I write a simple test code for using atn function in BASCOM, [code:1:473188546a] $regfile = "m32def.dat" ' specify the used micro $crystal = 8000000 '...

View Article

BASCOM-AVR : strange biniary output : REPLY

Great Mark! at the end of the day, playing some rounds of pin pong, the mystery was finally solved and it was indeed a software problem. However question remains when will it be fixed and where. Date...

View Article


BASCOM-AVR : strange biniary output : REPLY

Hi Mhz, A work around would be to read the Register into a temp variable then do the bin() in that. Reading the post from Mark I don't think he'll Change the code in the bin function. Regards Ian Dobson

View Article

BASCOM-AVR : strange biniary output : REPLY

Hi Ian, yes indeed there are ways to work around. There is a bug in BIN(...). You know it, I learned it the hard way but the rest of us isn't aware of the bug. And those who don't be aware will spend...

View Article


BASCOM-AVR : Bootloader suddenly stopped working? : REPLY

either the connected electronics causes the problem which is a bit unlikely when using a serial boot loader, but still it is possible. more likely is that the reset of the electronics draws too much...

View Article

BASCOM-AVR : strange biniary output : REPLY

when a bug is known it will be fixed. in register.mcselec.com you will find that the bug when it is fixed. there is also in most cases a work around. this is a user forum and not an official support...

View Article

BASCOM-AVR : new dat files for PDF update : NEWTOPIC

Atmel is very busy changing the links to the PDF files. Because of this the PDF download will not find a number of files. So we have changed this mechanism. - mcselec server will check all PDF files...

View Article
Browsing all 20606 articles
Browse latest View live