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: FrancePosts: 21 |
thanks Turbo46, this time everything is working :) |
||||
Dudulle Newbie Joined: 06/08/2012 Location: FrancePosts: 21 |
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: AustraliaPosts: 3165 |
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: FrancePosts: 21 |
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 KingdomPosts: 8579 |
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: FrancePosts: 21 |
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: AustraliaPosts: 3165 |
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: FrancePosts: 21 |
Hello I tried others cards, with full reformat, but the problem still the same... |
||||
Dudulle Newbie Joined: 06/08/2012 Location: FrancePosts: 21 |
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: AustraliaPosts: 5903 |
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: FrancePosts: 21 |
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: FrancePosts: 21 |
Can I use the card reader who is on the tft screen ? |
||||
Dudulle Newbie Joined: 06/08/2012 Location: FrancePosts: 21 |
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 |