GCBASIC: I2C Discovery
24:00
Күн бұрын
GCBASIC: GCLD Concept of Operations
33:06
GCBASIC: Compiler control
17:59
28 күн бұрын
GCBASIC: Reliability testing
22:36
Пікірлер
@domoledlight
@domoledlight 4 күн бұрын
NICE VIDEO THANKS
@JohnSmith-z4h7d
@JohnSmith-z4h7d 5 күн бұрын
Where did you find that you needed to use ports A.4, A.1 and then C.0, C.1 and C.2. I am trying to make this work on a 18F25?
@aquilesviza5550
@aquilesviza5550 Ай бұрын
Hi, I'm confirming that this video is not private at all
@AnobiumTech
@AnobiumTech Ай бұрын
Thanks. I think it is ok to show the video, It provides insights into the complexity of testing.
@coolereisbar834
@coolereisbar834 Ай бұрын
fyi its not a private video
@AnobiumTech
@AnobiumTech Ай бұрын
I think it is ok to show the video, It provides insights into the complexity of testing.
@fabriceengel57
@fabriceengel57 Ай бұрын
Hi Evan, I made a test on my new mini PC, (MinisForum EliteMini AI 370), and the full compilation tests of the demo folder took more or less 45 minutes. Certainly with more powerfull processors shorter times can be reached. But I am uncertain, because during compilation process, the AMD AI 370 processor worked only less than 15%. What can be the bottleneck of the compilation tests ?
@AnobiumTech
@AnobiumTech Ай бұрын
Good question. We could Sum the compile time and then deduct that from the total time ( end to end time ) to give Batch processing time. Then, we could add -QUIET command to the compiler to remove all dialogs ( that is surely one bottle neck ). That would leave just the compiler processing. Removing some of syntax checking ( during this test only ) would improve performance - as this is essentially text string manipulation and this is 'slow'. After those changes... the speed is now the internal list access process within the compiler. Something to look at next year.
@fabriceengel57
@fabriceengel57 Ай бұрын
Good Day Evan, I just send you a message on Google Chat about the tests.
@44Nemo44
@44Nemo44 Ай бұрын
Спасибо. Хорошая работа. Однако, после обновления gcstudio с новым avrdude нe прошивает lgt8f328p.
@daveevans9809
@daveevans9809 Ай бұрын
just found your channel - really interesting stuff here. good audio, no crap wazzup guys etc. Like you're sat next to me.
@Qgmr
@Qgmr Ай бұрын
Im big fan of gc basic. Your lessons helped me a lot. Thank you sir
@AnobiumTech
@AnobiumTech Ай бұрын
It's really good to get feedback like this. Please consider a donation to cover the operation cost. Go to www.gcbasic.com
@Ezbee2n3055
@Ezbee2n3055 Ай бұрын
GCBBuildTimeStr great for giving a basic setting for real time clock programs. Simply extract time and date from string then you only need small few 10s seconds adjustment via user interface or maybe even just apply a fixed correction for average delay in programming if that accuracy is enough.
@evanvenn
@evanvenn Ай бұрын
A very clever use case - I like it!!
@desertdave
@desertdave 2 ай бұрын
Hi Evan I notice your title here says the PIC18xxQ20 rather than the Q24 range being covered in the series, not sure if you can correct this now its live ?, Great fun and an interesting series as usual, Just so you know in case any watchers want to try and recreate these experiments BasicMicroUK stock all these IC's, we have the 28Pin in a PDIP package as well as a SOIC28 version and also the 40Pin PDIP version as well as the TQFP-44 version so please get in contact if you require any parts, we also stock 1000's of other electronics parts all guaranteed to be 100% genuine, I like the look of your prototyping board, please can you share more information on this and maybe even a small video on this board, I would love one for the BasicMicroUK LAB, What is Zen mode ?, never come across this before ?, Keep up the good work Dave, BMUK
@AnobiumTech
@AnobiumTech 2 ай бұрын
Hello DesertDave. I corrected the title information . Thanks for spotting. It's great to hear you have all these in stock. Ping me if you want to resell our PICKITPlus software, resell our PICKit2 programmer, or any of our products. The board I use. I had is designed a few years back, and I am going back into production very soon. I will post a video soon.
@djsbriscoe
@djsbriscoe 2 ай бұрын
What demo board are you using? Thanks.
@AnobiumTech
@AnobiumTech 2 ай бұрын
This is a demo board designed specifically for me. I needed a board that supported the very wide set of capabilities of GBASIC and PICs. I love it. If there were enough interest, I could get more produced.
@AnobiumTech
@AnobiumTech 2 ай бұрын
Not being greedy here .. I have five and they all get used.
@vinyltheif
@vinyltheif 2 ай бұрын
That's nicely answered that query..
@FilamentFriday
@FilamentFriday 3 ай бұрын
Is there a toolbar icon to go direct to the info page rather than search?
@AnobiumTech
@AnobiumTech 3 ай бұрын
Can I confirm that you are thinking of an icon in the GCODE IDE? If yes, this sounds like a great idea. Let me know if you are thinking within GCODE IDE.
@FilamentFriday
@FilamentFriday 3 ай бұрын
@@AnobiumTech - Yes, so you can skip the search step.
@ivanholubec
@ivanholubec 3 ай бұрын
Thanks. Nice and usefull.
@JustAnotherAlchemist
@JustAnotherAlchemist 3 ай бұрын
Microchip has done a LOT of things like this to drive me away long ago. It all started with MPLABX (Which overall I actually liked!) and the acquisition of AVR. However, with the existence of RISCV and CHEAP 32 bit micros near and including it, I dropped Microchip's offerings and haven't looked back since. WCH's CH32V003 is literally lost change levels of cheap... zero reason to use PIC or AVR IMHO.
@AnobiumTech
@AnobiumTech 3 ай бұрын
Great points - PIC, AVR and LGT are still great solutions for when performance and complexity are key drivers. But, there are lots of microcontrollers to choose from today.
@FilamentFriday
@FilamentFriday 3 ай бұрын
Great solution. Well done. Will this new set of include files be part of all future versions of GCB complete installation files so any future new users will get all this by just installing GCB?
@AnobiumTech
@AnobiumTech 3 ай бұрын
Again, a great question. It will be part of the GCSTUDIO installation so GCBASIC users will simply choose with Preferences Editor to use this 'adapted' version of AVRASM2. This way anyone can use AVRASM2 as part of the tool chain with ease.
@FilamentFriday
@FilamentFriday 3 ай бұрын
Great work and explanation. I have a question though, can the typical GCB non-DFP path be used for all devices or is this new DFP path required for new devices from Microchip?
@AnobiumTech
@AnobiumTech 3 ай бұрын
I think this answer your question. If the #include "{chipname}.DFP" is present in the GCB source then the ASM file will be updated with the DFP location. If #include ( therefore with no .DFP ) the standard ( legacy) .INCLUDE "{chip}def.inc" will be inserted into the ASM file.
@FilamentFriday
@FilamentFriday 3 ай бұрын
⁠@@AnobiumTech- Thanks. So the DFP isn’t necessary, just an option if you want to use the .asm with MPLAB X or Studio?
@AnobiumTech
@AnobiumTech 3 ай бұрын
@@FilamentFriday Yes. As part of the development of AVRDx validation of the ASM being generated was essential. Validating the ASM is valid and the HEX generated is the same between GCASM and AVRASM2. So, this new capability is important to the ongoing quality and simplicity of GCBASIC.
@EdwardYamunaque
@EdwardYamunaque 3 ай бұрын
Do you have book aboved this?
@AnobiumTech
@AnobiumTech 3 ай бұрын
Thank you for looking at the video. Please clarify the question.
@EdwardYamunaque
@EdwardYamunaque 3 ай бұрын
@@AnobiumTech hi, I am Perú, I don't speak English.... Do you have AVRDx series book??
@AnobiumTech
@AnobiumTech 3 ай бұрын
@EdwardYamunaque I have just started a book. The first chapter will be ready soon. I will also be publishing KZbin video to support the book.
@宗憲李-o2w
@宗憲李-o2w 3 ай бұрын
Is there XIDE v6.15 can compiler this F1 EVK project or not ?
@AnobiumTech
@AnobiumTech 3 ай бұрын
There is an old MPLAB project. That may be imported into MPLABX but it may not work. GCBASIC does it a lot faster and it works.
@宗憲李-o2w
@宗憲李-o2w 3 ай бұрын
Study : Great Cow Basic F1 Evaluation Platform #1 and 2 ... thank you kzbin.info/www/bejne/mpbcfqmLZcprlbs kzbin.info/www/bejne/qJWclnp-YtZnjas
@thenorank3882
@thenorank3882 4 ай бұрын
Thank guy nice video
@44Nemo44
@44Nemo44 4 ай бұрын
Спасибо. 👁
@priyankashah8242
@priyankashah8242 4 ай бұрын
Please help me sir... Can you tell me if these sensors can measure the intensity of the components of natural light? Can these tell me the intensity of blue or red light present in the natural environment?
@evanvenn
@evanvenn 4 ай бұрын
I believe so. Check the data sheet for details. Also, send OSRAM an email as they are very good in responding.
@priyankashah8242
@priyankashah8242 4 ай бұрын
@@evanvenn thank you very much sir
@44Nemo44
@44Nemo44 4 ай бұрын
Thank you. Very glad. Please give more information and examples for LGT8F328P. I am very interested in an example for displaying information on an lcd 1602 using 74HC164D shift registers.
@SeanAlcorn
@SeanAlcorn 4 ай бұрын
Can I use a hardware PWM to give me 500Hz, 50%?
@evanvenn
@evanvenn 4 ай бұрын
If this signal is specified in the datasheet then yes.
@SeanAlcorn
@SeanAlcorn 4 ай бұрын
@@evanvenn - what datasheet? 🤣 I’m still searching for a decent datasheet for the LGT8F328P! What I meant was your command for say HPWM has a value 10 for 10kHz - can we put 0.5 as the value for 500Hz?
@AnobiumTech
@AnobiumTech 4 ай бұрын
github.com/dbuezas/lgt8fx/blob/master/docs/LGT8FX8P_databook_v1.0.4.en.pdf
@SeanAlcorn
@SeanAlcorn 4 ай бұрын
@@AnobiumTech - Thank you!
@FilamentFriday
@FilamentFriday 5 ай бұрын
Great demo.
@AnobiumTech
@AnobiumTech 5 ай бұрын
Thank you. Your message means something to me. Grateful.
@aritaoficial2776
@aritaoficial2776 5 ай бұрын
An outstanding work, and done in a very short time!!!
@44Nemo44
@44Nemo44 5 ай бұрын
GCstudio was working fine a few days ago. Probably after the update does not make the LGT8F328P board firmware. I reinstalled the program several times, but with no result. I tried another Arduino nano board, the same thing. I don't know what to do. Was it just my fault, did no one give a signal?
@44Nemo44
@44Nemo44 5 ай бұрын
Thank you for your hard work.
@AnobiumTech
@AnobiumTech 5 ай бұрын
I appreciate that! I took the work from Greg and wrote the library. This is so fast to use!
@hagopboghossian6841
@hagopboghossian6841 5 ай бұрын
Awesome ❤️ thank you
@rembrandtes
@rembrandtes 5 ай бұрын
GCB in great style
@aritaoficial2776
@aritaoficial2776 5 ай бұрын
The GCBasic compiler is superb! On other point, I don’t use Microchip Studio or MPLAB X, and it took my attention that Microchip Studio licensed Visual Studio 2015 as their IDE (which is also a super robust IDE, albeit a little old) while MPLAB X licensed NetBeans (not bad either as even SIEMENS use it, just not my taste) But its interesting to see that Microchip didn’t unify their environments with so many years of the buyout of Atmel.
@AnobiumTech
@AnobiumTech 5 ай бұрын
Thanks for the feedback. GCBASIC is now 18 years old and still getting better! The strategy for IDE development is clear to me. MPLAB-X and Studio are both valid. From the very recent release the underlying chip description files are the same. The same description files architecture. So, it could be that Microchip support both going forward. :-)
@johni1084
@johni1084 5 ай бұрын
A schematic of the circuit would be appreciated.
@evanvenn
@evanvenn 5 ай бұрын
The connections that make up the circuit are shown at kzbin.info/www/bejne/rKC3nGlqns6ijMU The connections for DC/CS and RST are to standard IO ports. The DI/DO/SCK ( Data In/Data out/Clock ) are typically specific to the microcontroller you are using. So, It depends on your microcontroller. What are you using?
@GeorgeWait-xr2bz
@GeorgeWait-xr2bz 5 ай бұрын
Hi! I'm new at gcbasic. I want to output sequence of one's and zeroes from the pin of microcontroller how can I do this?
@evanvenn
@evanvenn 5 ай бұрын
Hello. Many different ways in terms of structure but the basic is `port.bit =1 or 0`. Visit the forum. There are 1000s of demos, and, there are many that are specific to port On/Off operations. AVRDx is new. Use an older chip unless you part to help develop GCBASIC.
@GeorgeWait-xr2bz
@GeorgeWait-xr2bz 5 ай бұрын
@@evanvenn thank you
@hagopboghossian6841
@hagopboghossian6841 7 ай бұрын
🙏❤🙏
@evanvenn
@evanvenn 7 ай бұрын
The first step is setting of IO register DIRection. Next, is set state of specific bit of an IO register.
@МаксимОберто-ц3е
@МаксимОберто-ц3е 7 ай бұрын
Спасибо за вашу работу
@44Nemo44
@44Nemo44 7 ай бұрын
Спасибо.
@AnobiumTech
@AnobiumTech 7 ай бұрын
See also EEPROM/END EEPROM
@FilamentFriday
@FilamentFriday 7 ай бұрын
This is an excellent addition. I didn’t realize this wasn’t present in GCB. I’ve used it occasionally in PICBasic so this is excellent work!
@bweebar
@bweebar 7 ай бұрын
FYI @ 5:55 your capture software doesn't record the menus you refer to in the audio
@evanvenn
@evanvenn 7 ай бұрын
Great spot. I talk through the menus, sorry for omission.
@ИванИванов-п2ю6г
@ИванИванов-п2ю6г 8 ай бұрын
Понял, что чипсы из этой байды получаются так себе, не очень. Спасибо, буду знать. Кстати, если у вас будет возможность выкладывать ссылки на материалы, которые вы используете, то не отказывайте себе в этом удовольствии. By the way, if you have the opportunity to share links to the materials you use, please do not hesitate to do so.
@evanvenn
@evanvenn 8 ай бұрын
These chips are ok. I use them in preference to Atmel 328p. What issues you had? Resources. GCBASIC from SourceForge has the complete toolchain.
@djsbriscoe
@djsbriscoe 9 ай бұрын
Will the header file/library be included in a future update? Thanks.
@AnobiumTech
@AnobiumTech 9 ай бұрын
Yes, I will post once the library has had a code review. It will be in the next public update.
@44Nemo44
@44Nemo44 10 ай бұрын
Спасибо большое .
@djsbriscoe
@djsbriscoe 10 ай бұрын
Are there any particular steps needed to use the Oshonsoft simulator/IDE with GCBASIC? Are these steps the same with PIC as with AVR MCU's? I'm thinking of buying OshonSoft Software Suite personal license which is on special offer. Also how is your donation drive? Can donations to GCBASIC still be made?
@hagopboghossian6841
@hagopboghossian6841 10 ай бұрын
❤❤❤❤❤❤
@djsbriscoe
@djsbriscoe 10 ай бұрын
Thanks for all the hard work you are doing. Can you share the code for the PIC and the GCBASIC calculator code at some point, or the test suite setup code? I may need to try testing some large numbers myself. Thanks
@owaisnajam5304
@owaisnajam5304 10 ай бұрын
Hope that it's a major development in GCBasic. I am writing a firmware where other compilers generated big size of hex file but using GCBasic it was possible to achieve the goal with small code size. Thanks, GCBasic team.
@44Nemo44
@44Nemo44 10 ай бұрын
Lgt8f328p более интересно и доступно .