cancel
Showing results for 
Search instead for 
Did you mean: 

Downloading Cosmic C compiler

enis_isik
Associate II

Hello,

I am trying to start a new project on a STM8s003K3 discovery kit, i have downloaded and installed STVD without a problem but I can't download Cosmic C Compiler. The download link in the Cosmic site is not working, I have tried anything I can think of (changing DNS settings, resetting IP, checking host file) to fix timeout error thinking the problem was on my end but I can't download it on another pc connected to another WiFi either so I think it is the download link which is broken. Any ideas what might be the issue? If this is unfixable there any other opensource compiler for stm8s?

1 ACCEPTED SOLUTION

Accepted Solutions
enis_isik
Associate II

Yes, I did test it with another browser, it is still the same. It seems like the problem is my location afterall.

Thank you again for your fast replies.

Best regards,

Enis

View solution in original post

8 REPLIES 8
Peter BENSCH
ST Employee

Well, I just checked it again - works fine. You just have to enter your data on this website and then you will be redirected to the website with the actual and current download (Windows EXE, about 24MB).

Hope that helps?

Regards
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
enis_isik
Associate II

Thank you for your response, I tried the link you provided but again I got "ERR_CONNECTION_TIMED_OUT" error. If it's working fine for you, can there be a problem about the region I am at? I can't really think of anything else.

Sicerely,

Enis

Have you ever tested another browser?

Otherwise, it must have something to do with your location or IP and access seems to be blocked somewhere along the route. Unfortunately, this cannot be determined from the outside, but you can check the route with tools like tracert.

Good luck!
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
enis_isik
Associate II

Yes, I did test it with another browser, it is still the same. It seems like the problem is my location afterall.

Thank you again for your fast replies.

Best regards,

Enis

Peter BENSCH
ST Employee

OK, if the problem is solved, although perhaps not to your complete satisfaction, please click Accept as Solution. This will help other users find that answer faster.

BTW: you can always post a solution to your problem here in the thread later if you have found it, other users with the same problem would certainly be pleased.

Regards
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Enes_Fatih
Associate

I also encountered the same error. When I click on the register and download link on the Cosmic C Comiper website, I get an error. Did you fix this error that you encountered, how did you fix it?

Best regards,
Enes

Philipp Krause
Senior III

Using a FOSS toolchain to target the STM8, will avoid all the hassle of registration and licensing. SDCC is an excellent FOSS compiler targeting the STM8.

However, unlike the non-free compilers it doesn't come with an IDE; many SDCC users use SDCC together with a third-party IDE, such as Code::Blocks or Visual Studio.

DarekR
Associate
You don't need to install the compiler to display the license window, just from the directory: C:\Program Files\COSMIC\FSE_Compilers\CXSTM8 to run LmregFSE. It is best to install the Cosmic compiler before STVD. Once the 1-year validity period of the license has passed, the easiest way is to go to the Cosmic website, download the latest version of the compiler and install. During installation, a browser will launch with a license download window. Download and upload to the Cosmic-licensed directory.