Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 02:50 27 Apr 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : tft screen for micromite

     Page 2 of 2    
Author Message
Dudulle
Newbie

Joined: 06/08/2012
Location: France
Posts: 21
Posted: 10:51pm 09 Apr 2021
Copy link to clipboard 
Print this post

thanks Turbo46, this time everything is working :)
 
Dudulle
Newbie

Joined: 06/08/2012
Location: France
Posts: 21
Posted: 08:09pm 20 Apr 2021
Copy link to clipboard 
Print this post

Hello everyone

I have a new probleme ; I can't save any program on SD card with save command (save "test.bas" ). The micromite just respond "error"
But I can make a directory, or delete a file (with kill command).

Drive command is not working on micromite, like on duinomite ?
Edited 2021-04-21 06:13 by Dudulle
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3165
Posted: 10:49pm 20 Apr 2021
Copy link to clipboard 
Print this post

That is strange.  If you can create a directory you should be able to create a file.  What is the exact and full error message?

The Micromite does not have the Drive command as it only supports one SD Card.

Geoff
Geoff Graham - http://geoffg.net
 
Dudulle
Newbie

Joined: 06/08/2012
Location: France
Posts: 21
Posted: 05:12pm 21 Apr 2021
Copy link to clipboard 
Print this post

Hi Geoff

First I would like to thank you for the great job you did, I am a huge fan of MMBASIC.
I made a picture of the screen (screenshot not working) to show the error message.

 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 8579
Posted: 05:24pm 21 Apr 2021
Copy link to clipboard 
Print this post

Looks like there is no space before the first "
Also do you have a program loaded? I don't know if MMBasic will save nothing
 
Dudulle
Newbie

Joined: 06/08/2012
Location: France
Posts: 21
Posted: 05:44pm 21 Apr 2021
Copy link to clipboard 
Print this post

I made a little program for the test, and I have the same error message with or without space.
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3165
Posted: 01:01am 22 Apr 2021
Copy link to clipboard 
Print this post

This is getting stranger and stranger.  The way the error message function works there should always be a colon after the word Error followed by a message.  It looks as if the CPU is tripping up (that is a technical term!) while displaying the message.

It could be the SD card that is the problem.  A corrupted file allocation table can cause strange errors.  Could you please reformat the SD card on a PC and try again.  Also, trying a different SD card might provide a clue.

Geoff
Geoff Graham - http://geoffg.net
 
Dudulle
Newbie

Joined: 06/08/2012
Location: France
Posts: 21
Posted: 07:16pm 23 Apr 2021
Copy link to clipboard 
Print this post

Hello

I tried others cards, with full reformat, but the problem still the same...
 
Dudulle
Newbie

Joined: 06/08/2012
Location: France
Posts: 21
Posted: 05:01pm 27 Apr 2021
Copy link to clipboard 
Print this post

Can I solve the problem by flashing the card?
If I can't use the built-in reader is it possible to add another on ?
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5903
Posted: 09:24pm 27 Apr 2021
Copy link to clipboard 
Print this post

You can create and delete directories so the SDcard 'write' seems to be working.
You would get a full error message if there was trouble writing to the card.
Try  
SAVE IMAGE "test.bmp"
to see if you can save a screen image to the SD card.

Also please LIST the file you are trying to save.
If you have any non-ascii characters in it, that might be causing problems.

Jim
VK7JH
MMedit   MMBasic Help
 
Dudulle
Newbie

Joined: 06/08/2012
Location: France
Posts: 21
Posted: 09:41pm 27 Apr 2021
Copy link to clipboard 
Print this post

Hi TassyJim

I made a very simple test :


sub heure()

 do

 print time$
 pause (1000)
 cls

 loop

end sub ()  


When I try to save it with SAVE "test.bas" I have the same message : error

Saving image is not working too.
 
Dudulle
Newbie

Joined: 06/08/2012
Location: France
Posts: 21
Posted: 04:32pm 30 Apr 2021
Copy link to clipboard 
Print this post

Can I use the card reader who is on the tft screen ?
 
Dudulle
Newbie

Joined: 06/08/2012
Location: France
Posts: 21
Posted: 06:03pm 02 May 2021
Copy link to clipboard 
Print this post

sorry for my messages, I found the solution by myself. I just had to type OPTION SDCARD 52,53 without 17
It was well explained but I had misunderstood...
Edited 2021-05-03 08:19 by Dudulle
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024