Author |
Message |
Topic: W5500 problems |
jeremywilson
Replies: 7
Views: 4893
|
Forum: EASY TCP/IP Posted: Mon Aug 26, 2019 4:46 pm Subject: W5500 problems |
I can't get a ping response back from W5500 - program hangs at Config TCPIP line.
Is it okay to use software SPI for TCPIP?
Am I wrong in assuming that all I need is Config SPI and Config TCPIP to ... |
Topic: SD card hardware SPI problems |
jeremywilson
Replies: 13
Views: 4378
|
Forum: AVR-DOS Posted: Wed Aug 14, 2019 10:20 pm Subject: SD card hardware SPI problems |
Thanks for the attachment removal.
The software is a work-in-progress based on my existing analyzer software that has a single gain amp, where Gain(gain_idx) is an array of gains. In this new ana ... |
Topic: SD card hardware SPI problems |
jeremywilson
Replies: 13
Views: 4378
|
Forum: AVR-DOS Posted: Wed Aug 14, 2019 9:28 pm Subject: SD card hardware SPI problems |
Wow!!! I never would have found that!
Thanks!! |
Topic: SD card hardware SPI problems |
jeremywilson
Replies: 13
Views: 4378
|
Forum: AVR-DOS Posted: Wed Aug 14, 2019 9:11 pm Subject: SD card hardware SPI problems |
Files attached.
"S1012-100P2 A1300 PI3.BAS" is the main program
when I compile, I get:
Error : 127 Line : 51 Invalid parameter
with this line highlighted:
Config Spi = Ha ... |
Topic: SD card hardware SPI problems |
jeremywilson
Replies: 13
Views: 4378
|
Forum: AVR-DOS Posted: Wed Aug 14, 2019 4:40 pm Subject: SD card hardware SPI problems |
same result on 2082, two different computers.
frustrating!!!! |
Topic: SD card hardware SPI problems |
jeremywilson
Replies: 13
Views: 4378
|
Forum: AVR-DOS Posted: Tue Aug 13, 2019 11:08 pm Subject: SD card hardware SPI problems |
JP:
I have the same problem with your code. Compiler returns "Invalid Parameter" on the Config SPI... line.
Removing "Master=YES" eliminates the error, but program freezes at SD initialization. |
Topic: SD card hardware SPI problems |
jeremywilson
Replies: 13
Views: 4378
|
Forum: AVR-DOS Posted: Tue Aug 13, 2019 8:49 pm Subject: SD card hardware SPI problems |
Thank you. I'll give it a try. |
Topic: SD card hardware SPI problems |
jeremywilson
Replies: 13
Views: 4378
|
Forum: AVR-DOS Posted: Mon Aug 12, 2019 8:41 pm Subject: SD card hardware SPI problems |
Several years ago I used the AVR-DOS SD card routines for implementing SD card data logging in an instrument using hardware SPI (ATMega2560). Worked great, still works.
However, I can no longer get ... |
Topic: dual SD cards |
jeremywilson
Replies: 3
Views: 2290
|
Forum: AVR-DOS Posted: Wed Mar 27, 2019 5:19 pm Subject: dual SD cards |
I may have to use a multiplexer or switch. Or MCU-controlled mosfets to power the cards.
I think there will be other issues with AVR-DOS, though, such as, reading data from one card and writing to t ... |
Topic: dual SD cards |
jeremywilson
Replies: 3
Views: 2290
|
Forum: AVR-DOS Posted: Tue Mar 26, 2019 8:27 pm Subject: dual SD cards |
I currently use AVR-DOS with single SD card circuits with no problems. However, I need to add a second SD card. With AVR-DOS, I can only define one chip select (CS) pin.
Is there a way to add a sec ... |
Topic: Flashing M2561 from SD Card |
jeremywilson
Replies: 6
Views: 2931
|
Forum: AVR-DOS Posted: Sat Mar 24, 2018 4:44 am Subject: Flashing M2561 from SD Card |
Finally had a chance to work on it today.
Found the problem right away. The BOOTSZ fuse was set to 1024.
Works like a charm now.
https://www.mcselec.com/userpix/18040_Capture_2.jpg |
Topic: Flashing M2561 from SD Card |
jeremywilson
Replies: 6
Views: 2931
|
Forum: AVR-DOS Posted: Sun Mar 18, 2018 10:15 pm Subject: Flashing M2561 from SD Card |
i would recommend to start with a normal boot loader.
The attached bootloader works fine.
The program that I'm trying to load from the SD works fine when programmed without bootloader.
SD card r ... |
Topic: Flashing M2561 from SD Card |
jeremywilson
Replies: 6
Views: 2931
|
Forum: AVR-DOS Posted: Mon Mar 12, 2018 8:00 pm Subject: Flashing M2561 from SD Card |
boot loader is DOS_Boot2.BAS.
main program is Boot.hex (renaming to Bootdone.hex worked fine until I disabled it).
after pressing mcu reset & button on E.4, terminal shows:
BCDFPM (short ... |
Topic: Flashing M2561 from SD Card |
jeremywilson
Replies: 6
Views: 2931
|
Forum: AVR-DOS Posted: Sun Mar 11, 2018 7:17 pm Subject: Flashing M2561 from SD Card |
Bootloader goes through the steps of flashing the program (boot.hex) as verified by the serial com output. However, program space ends up empty. MCU endlessly reboots into bootloader.
Same results ... |
Topic: Update Program from Card |
jeremywilson
Replies: 109
Views: 44209
|
Forum: AVR-DOS Posted: Fri Mar 02, 2018 6:58 am Subject: Update Program from Card |
DOS_Boot2.bas works (according to serial port output) as far as loading the boot.hex into flash and renaming the file, but the flash program doesn't run - just keeps rebooting into the bootloader.
... |
|